Video pre-anotation schema

Schema

字段类型必填默认值描述
sample_name
string
-The name of the sample file with extension
config
object
-
meta_data
object
-
annotations
object
-

Example

{
  "sample_name": "sample.mp4",
  "config": {
    "videoSegmentTool": [
      {
        "color": "#ff6600",
        "key": "标签-1",
        "value": "label-1"
      }
    ],
    "videoFrameTool": [
      {
        "color": "#0040ff",
        "key": "标签-1",
        "value": "label-1"
      }
    ]
  },
  "meta_data": {
    "duration": 122.0
  },
  "annotations": {
    "videoSegmentTool": {
      "toolName": "videoSegmentTool",
      "result": [
        {
          "id": "58gz4irdvip",
          "start": 4.2634441087613295,
          "end": 8.845921,
          "order": 1,
          "label": "label-1",
          "attributes": {
            "car": [
              "smart"
            ]
          }
        }
      ]
    },
    "videoFrameTool": {
      "toolName": "videoFrameTool",
      "result": [
        {
          "id": "cbqbst6gj5f",
          "time": 5.6555891238670695,
          "label": "label-1",
          "order": 3,
          "attributes": {
            "contains": "Hello"
          }
        }
      ]
    },
    "textTool": {
      "toolName": "textTool",
      "result": [
        {
          "id": "js6htkz785h",
          "type": "text",
          "value": {
            "text-label-1": "acasdqwe"
          }
        }
      ]
    },
    "tagTool": {
      "toolName": "tagTool",
      "result": [
        {
          "id": "qw8nbms13h",
          "type": "tag",
          "value": {
            "tag-label-1": [
              "tag-label-1-1"
            ]
          }
        }
      ]
    }
  }
}