图片识别
POST
/external/imageIdentify
请求参数
Header 参数
accessToken
string
可选
示例值:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBLZXkiOiJyaWxpNGwyNiIsImV4cCI6MTcxODI3NDE0M30.THt_kVzCrx4JDNHAU7M272WARzQhbhA5czq1Pj4A25Q
Body 参数multipart/form-data
analyseUuid
string
虚拟任务id
示例值:
TASKh7iagl58e4l
file
file
图片文件
base64String
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://172.16.36.80:30000/vos/external/imageIdentify' \
--header 'accessToken: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhcHBLZXkiOiJyaWxpNGwyNiIsImV4cCI6MTcxODI3NDE0M30.THt_kVzCrx4JDNHAU7M272WARzQhbhA5czq1Pj4A25Q' \
--form 'analyseUuid="TASKh7iagl58e4l"' \
--form 'file=@""' \
--form 'base64String=""'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
data
object
必需
imgList
array[string]
必需
imgCallbackList
array[string]
必需
imageWaterMarks
array [object {3}]
必需
success
boolean
必需
示例
{
"code": "0",
"message": "成功",
"data": {
"imgList": [
"http://172.16.36.80:30000/image/GUI/1/IMAGE_TASK/2024/07/18/1813857522612699137.jpeg"
],
"imgCallbackList": [
"http://172.16.36.80:30000/image/GUI/1/IMAGE_TASK/2024/07/18/1813857522612699137.jpeg"
],
"imageWaterMarks": [
{
"bboxList": [
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
1278,
717,
1919,
1077
],
"conf": [
"0.98"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
1278,
1,
1916,
356
],
"conf": [
"0.97"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
1280,
360,
1917,
714
],
"conf": [
"0.97"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
638,
2,
1271,
355
],
"conf": [
"0.96"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
4,
359,
637,
715
],
"conf": [
"0.96"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
8,
0,
639,
357
],
"conf": [
"0.96"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
2,
721,
638,
1075
],
"conf": [
"0.95"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
644,
95,
690,
313
],
"conf": [
"0.95"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
638,
717,
1276,
1078
],
"conf": [
"0.94"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
1285,
456,
1331,
674
],
"conf": [
"0.94"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
1285,
96,
1330,
314
],
"conf": [
"0.94"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
1285,
815,
1328,
1033
],
"conf": [
"0.94"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"电视内容区块(有台标)"
],
"bbox": [
638,
357,
1277,
717
],
"conf": [
"0.94"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
648,
459,
688,
672
],
"conf": [
"0.93"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
8,
455,
49,
673
],
"conf": [
"0.91"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
646,
813,
689,
1034
],
"conf": [
"0.87"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
8,
813,
50,
1032
],
"conf": [
"0.83"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
},
{
"label": [
"彩条"
],
"bbox": [
6,
95,
50,
312
],
"conf": [
"0.82"
],
"status": false,
"colorFlag": 1,
"frontendCorrection": null,
"goodStatus": null,
"matched": null,
"personId": null,
"match_id": null,
"match_conf": null
}
],
"waterPrint": "未知",
"colorFlag": 1
}
]
},
"success": true
}
修改于 2024-07-19 09:44:19