Skip to content

Commit

Permalink
docs: update segment and frame schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Feb 29, 2024
1 parent 98f256d commit e92c10e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/schema.audio.frame/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
}
}
},
"required": ["x", "y", "width", "height", "id", "order", "label"]
"required": ["time", "id", "order", "label"]
}
2 changes: 1 addition & 1 deletion src/pages/schema.audio.segment/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
}
}
},
"required": ["x", "y", "width", "height", "id", "order", "label"]
"required": ["start", "end", "id", "order", "label"]
}
5 changes: 5 additions & 0 deletions src/pages/schema.pre-annotation.audio/example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ import CodePreview from '../../components/code-preview';
]
}
},
]
},
"audioFrameTool": {
"toolName": "audioFrameTool",
"result": [
{
"id": "cbqbst6gj5f",
"time": 5.6555891238670695,
Expand Down
7 changes: 6 additions & 1 deletion src/pages/schema.pre-annotation.video/example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ import CodePreview from '../../components/code-preview';
"smart"
]
}
},
}
]
},
"videoFrameTool": {
"toolName": "videoFrameTool",
"result": [
{
"id": "cbqbst6gj5f",
"time": 5.6555891238670695,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/schema.video.frame/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
}
}
},
"required": ["x", "y", "width", "height", "id", "order", "label"]
"required": ["time", "id", "order", "label"]
}
2 changes: 1 addition & 1 deletion src/pages/schema.video.segment/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
}
}
},
"required": ["x", "y", "width", "height", "id", "order", "label"]
"required": ["start", "end", "id", "order", "label"]
}

0 comments on commit e92c10e

Please sign in to comment.