标签检测 获取作业结果
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/v2/video/label_detection_async/{public_id}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v2/video/label_detection_async/?response_as_dict=true&show_original_response=false' \
--header 'Authorization;'
响应示例响应示例
200 - 成功示例
{ "public_id": "a3bf28e3-33fa-4fe3-ba04-b2a2b15f6850", "status": "finished", "error": null, "results": { "amazon": { "error": null, "id": "2106dee6-5465-48f0-8ab2-d533a98b18a6", "final_status": "finished", "labels": [ { "name": "Aerial View", "confidence": 0.5543865966796875, "timestamp": [ { "start": 0, "end": null } ], "category": [ "Outdoors" ], "bounding_box": [] }, { "name": "Architecture", "confidence": 0.8299862670898438, "timestamp": [ { "start": 0, "end": null } ], "category": [], "bounding_box": [] }, { "name": "Bench", "confidence": 0.8146657562255859, "timestamp": [ { "start": 0, "end": null } ], "category": [ "Furniture" ], "bounding_box": [ { "top": 0.6018825769424438, "left": 0.8727523684501648, "height": 0.05592741817235947, "width": 0.03193823620676994 } ] }, { "name": "Building", "confidence": 0.8299862670898438, "timestamp": [ { "start": 0, "end": null } ], "category": [ "Architecture" ], "bounding_box": [] }, { "name": "Bus", "confidence": 0.9278840637207031, "timestamp": [ { "start": 0, "end": null } ], "category": [ "Transportation", "Vehicle" ], "bounding_box": [ { "top": 0.3808082938194275, "left": 0.1667904555797577, "height": 0.22148454189300537, "width": 0.10182129591703415 }, { "top": 0.29497453570365906, "left": 0.27861788868904114, "height": 0.14256863296031952, "width": 0.06955181807279587 }, { "top": 0.2759459912776947, "left": 0.31799834966659546, "height": 0.10203275084495544, "width": 0.04590361937880516 } ] }, { "name": "Bus Stop", "confidence": 0.5210459518432617, "timestamp": [ { "start": 0, "end": null } ], "category": [ "Outdoors" ], "bounding_box": [] }, { "name": "Car", "confidence": 0.8884062957763672, "timestamp": [ { "start": 0, "end": null } ], "category": [ "Transportation", "Vehicle" ], "bounding_box": [ { "top": 0.2779603600502014, "left": 0.413693904876709, "height": 0.03523149713873863, "width": 0.020195070654153824 }, { "top": 0.33312588930130005, "left": 0.38899174332618713, "height": 0.042886435985565186, "width": 0.024209212511777878 }, { "top": 0.9558485150337219, "left": 0.4358382225036621, "height": 0.04415147751569748, "width": 0.11474663764238358 }, { "top": 0.39818793535232544, "left": 0.37071043252944946, "height": 0.061605215072631836, "width": 0.0386580154299736 }, { "top": 0.36119544506073, "left": 0.4555418789386749, "height": 0.05126221105456352, "width": 0.037453874945640564 }, { "top": 0.34751370549201965, "left": 0.4068182706832886, "height": 0.05367683246731758, "width": 0.03092619590461254 }, { "top": 0.2890753149986267, "left": 0.48620888590812683, "height": 0.03448797017335892, "width": 0.018666870892047882 }, { "top": 0.43107739090919495, "left": 0.4261581003665924, "height": 0.08509213477373123, "width": 0.05511344224214554 }
请求参数
Path 参数
public_id
string
必需
Query 参数
response_as_dict
string
可选
示例值:
true
show_original_response
string
可选
示例值:
false
Header 参数
Authorization
string
必需
默认值:
Bearer <your_key>
返回响应
修改于 2024-04-10 09:26:05