文本检测获取作业结果
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/v2/video/text_detection_async/{public_id}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v2/video/text_detection_async/?response_as_dict=true&show_original_response=false' \
--header 'Authorization;'
响应示例响应示例
200 - 成功示例
{ "public_id": "b9910f26-55bb-4a0f-979d-dc96e57a2212", "status": "finished", "error": null, "results": { "amazon": { "error": null, "id": "084606b4-a433-48b9-b619-8997bae6b490", "final_status": "finished", "texts": [ { "text": "still", "frames": [ { "confidence": 0.99, "timestamp": 3.036, "bounding_box": { "top": 0.4481905996799469, "left": 0.31332847476005554, "height": 0.03324110060930252, "width": 0.02642197534441948 } }, { "confidence": 0.99, "timestamp": 4.037, "bounding_box": { "top": 0.4449908435344696, "left": 0.3145139515399933, "height": 0.03219383955001831, "width": 0.026560068130493164 } }, { "confidence": 0.99, "timestamp": 5.038, "bounding_box": { "top": 0.4391314685344696, "left": 0.31747183203697205, "height": 0.03211873397231102, "width": 0.0263487808406353 } } ] }, { "text": "now", "frames": [ { "confidence": 0.98, "timestamp": 3.036, "bounding_box": { "top": 0.3657836616039276, "left": 0.3261803686618805, "height": 0.021850671619176865, "width": 0.02302379533648491 } }, { "confidence": 0.98, "timestamp": 4.037, "bounding_box": { "top": 0.36274126172065735, "left": 0.327701598405838, "height": 0.02181311696767807, "width": 0.022918175905942917 } }, { "confidence": 0.98, "timestamp": 5.038, "bounding_box": { "top": 0.3570697009563446, "left": 0.33091291785240173, "height": 0.02166290208697319, "width": 0.02300267294049263 } }, { "confidence": 0.97, "timestamp": 6.039, "bounding_box": { "top": 0.35912370681762695, "left": 0.3303605318069458, "height": 0.02146369032561779, "width": 0.022367287427186966 } } ] }, { "text": "35", "frames": [ { "confidence": 0.97, "timestamp": 8.041, "bounding_box": { "top": 0.6693209409713745, "left": 0.3587533235549927, "height": 0.02446712926030159, "width": 0.0167678352445364 } } ] }, { "text": "by Getty Images™", "frames": [ { "confidence": 0.95, "timestamp": 0.033, "bounding_box": { "top": 0.576171875, "left": 0.3680419921875, "height": 0.0537109375, "width": 0.2493896484375 } }, { "confidence": 0.98, "timestamp": 2.035, "bounding_box": { "top": 0.5736931562423706, "left": 0.3678749203681946, "height": 0.056840259581804276, "width": 0.2496688812971115 } }, { "confidence": 0.99, "timestamp": 3.036, "bounding_box": { "top": 0.576171875, "left": 0.3680419325828552, "height": 0.0537109375, "width": 0.24993896484375 } }, { "confidence": 0.99, "timestamp": 4.037, "bounding_box": { "top": 0.5736988186836243, "left": 0.36842793226242065, "height": 0.056674785912036896, "width": 0.24911585450172424 } }, { "confidence": 0.97, "timestamp": 8.041, "bounding_box": { "top": 0.576171875, "left": 0.3680419921875, "height": 0.0537109375, "width": 0.24884033203125 } }, { "confidence": 0.99, "timestamp": 9.042, "bounding_box": {
请求参数
Path 参数
public_id
string
必需
Query 参数
response_as_dict
string
必需
示例值:
true
show_original_response
string
必需
示例值:
false
Header 参数
Authorization
string
必需
默认值:
Bearer <your_key>
返回响应
修改于 2024-04-11 06:01:18