图片内容分析接口
更新时间:2024-11-18
提交图片分析(同步)
- 用户提供图片BOS或URL路径,进行图片分析。
- 该接口为同步接口,即直接在HTTP response body中返回图片分析结果。
- 提交图片分析接口每个账号默认支持2QPS,如因内容分析MCA业务峰值导致QPS上下波动,属正常现象。如需更多QPS配额,请提供预估用量等信息,提交工单联系我们。
请求语法
PUT /v{version}/image?sync HTTP/1.1
host: vca.bj.baidubce.com
authorization: <bce-authorization-string>
content-type: application/json
支持v1
、v2
请求参数
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
sync | String | 标志参数,无须取值 | 是 |
请求体
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
source | String | 图片路径,支持BOS或URL两种格式(图片大小需要小于10M且宽高都要小于10000) | 是 |
preset | String | 图片分析模板 | 否,不设置时使用默认图片模板 |
title | String | 标题, 长度不超过256 | 否 |
说明:
- 对于BOS图片,
source="bos://<bos-bucket>/<bos-object>”
,例如"bos://testbucket/dir/image.jpg”,用户需要确保BOS路径可访问。- 对于URL图片,
source="http://domain.com/dir/image.jpg"
,目前仅支持http协议URL,用户需要确保该URL外网可访问。- 图片缩放说明:图片大于4M或宽大于1920 或高大于1920时,分析会对原图进行缩放分析。
请求示例
提供图片BOS路径进行分析:
PUT /v1/image?sync HTTP/1.1
host: vca.bj.baidubce.com
content-type: application/json
authorization: <bce-authorization-string>
{
"source": "bos://demo_bucket/demo_image.jpg",
"preset": "default"
}
提供图片URL进行分析:
PUT /v1/image?sync HTTP/1.1
host: vca.bj.baidubce.com
content-type: application/json
authorization: <bce-authorization-string>
{
"source": "http://domain.com/dir/image.jpg",
"preset": "default"
}
响应头域
无
响应体
响应示例
图片分析结果查询
用户提供图片BOS或URL路径,进行30天以内的图片分析结果查询。
请求语法
GET /v<version>/image HTTP/1.1
host: vca.bj.baidubce.com
authorization: <bce-authorization-string>
x-bce-date: <bce-authorization-utc-date>
content-type: application/json
支持v1
、v2
请求参数
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
source | String | 图片路径,支持BOS或URL两种格式 | 是 |
preset | String | 模板 | 否,不填时返回最新分析记录 |
请求体
无
请求示例
提供图片进行分析结果查询:
GET /v1/image?source=bos%3a%2f%2ftestbucket%2fdir%2fdemo_image.jpg&preset=default HTTP/1.1
host: vca.bj.baidubce.com
content-type: application/json
authorization: <bce-authorization-string>
x-bce-date: <bce-authorization-utc-date>
响应参数
无
响应体
响应示例
图片分析结果说明
分析结果
每个图片的分析结果格式为:
参数 | 类型 | 描述 |
---|---|---|
source | String | 图片url |
preset | String | 模板 |
title | String | 标题 |
status | String | 分析状态 |
results | List | 结果列表,仅仅当status=FINISHED时返回 |
+ type | 枚举,CHARACTER/TAG | 结果类型 |
+ data | String | 结果详情 |
error | Object | 失败结果,仅仅当status=Error时返回 |
+ code | String | 失败码 |
+ message | String | 失败详情 |
对于结果类型是CHARACTER,data反序列化后为数组,数组元素结构为:
参数 | 类型 | 描述 |
---|---|---|
word | String | 文本 |
confidence | Double | 置信度 |
location | Object | 位置 |
+ leftOffsetInPixel | Interger | 左上角横坐标 |
+ topOffsetInPixel | Interger | 左上角纵坐标 |
+ widthInPixel | Interger | 宽 |
+ heightInPixel | Interger | 高 |
对于结果类型是TAG,data反序列化后为数组,数组元素结构为:
参数 | 类型 | 描述 |
---|---|---|
type | String | 标签类型 |
result | List | 标签列表 |
+ attribute | String | 标签 |
+ confidence | Double | 置信度 |
+ source | String | 标签来源 |
+ subType | String | LOGO分类,仅仅当type=logo时返回 |
+ location | Object | 位置,仅仅当type=figure/logo时返回 |
++ leftOffsetInPixel | Interger | 左上角横坐标 |
++ topOffsetInPixel | Interger | 左上角纵坐标 |
++ widthInPixel | Interger | 宽度 |
++ heightInPixel | Interger | 高度 |
++ degree | Interger | 角度,仅仅当type=figure时返回 |
source 与 图片模板配置对应关系说明:
- face_recognition 对应“人脸识别 - 公众人脸识别”;
- private_face 对应“人脸识别 - 自定义人脸识别“;
- private_logo 对应“logo识别 - 公共logo识别“;
- logo对应“logo识别 - 自定义logo识别”;
- character对应“文字识别 - 关键词优选”;
- knowledge_graph对应”知识图谱 - 诗词“;
- image_classify对应“图像分析 - 图像分类”;
- object_detect对应“图像分析 - 物体识别”;
- landmark对应”图像分析 - 地标识别“;
- ernie_prompt对应”图像分析 - 文心标签“;
对于结果类型是TAG_FEATURE,data反序列化后为结构为:
参数 | 类型 | 描述 |
---|---|---|
results | List |
所有标签的平均特征值数组 |
word_results | List | 所有标签的特征值数组列表 |
+ name | String | 标签 |
+ vec | List |
特征值数组 |
分析结果示例
分析成功时返回:
HTTP/1.1 200 OK
{
"preset":"default",
"results":[
{
"data":"[{\"word\":\"CCTV 13\",\"location\":{\"leftOffsetInPixel\":26,\"topOffsetInPixel\":21,\"widthInPixel\":49,\"heightInPixel\":12},\"confidence\":95.53},{\"word\":\"新\",\"location\":{\"leftOffsetInPixel\":37,\"topOffsetInPixel\":35,\"widthInPixel\":26,\"heightInPixel\":10},\"confidence\":98.41},{\"word\":\"三村\",\"location\":{\"leftOffsetInPixel\":64,\"topOffsetInPixel\":138,\"widthInPixel\":5,\"heightInPixel\":13},\"confidence\":72.75},{\"word\":\"习近平在中国政法大学考察时强调\",\"location\":{\"leftOffsetInPixel\":86,\"topOffsetInPixel\":207,\"widthInPixel\":221,\"heightInPixel\":12},\"confidence\":99.99},{\"word\":\"立德树人德法兼修抓好法治人才培养\",\"location\":{\"leftOffsetInPixel\":86,\"topOffsetInPixel\":222,\"widthInPixel\":237,\"heightInPixel\":12},\"confidence\":99.99},{\"word\":\"贴闻联指\",\"location\":{\"leftOffsetInPixel\":35,\"topOffsetInPixel\":236,\"widthInPixel\":36,\"heightInPixel\":9},\"confidence\":82.46},{\"word\":\"励志勤学刻苦磨炼促进青年成长进步\",\"location\":{\"leftOffsetInPixel\":86,\"topOffsetInPixel\":238,\"widthInPixel\":237,\"heightInPixel\":12},\"confidence\":99.99}]",
"type":"CHARACTER"
},
{
"data":"[{\"type\":\"entity\",\"result\":[{\"attribute\":\"人物特写\",\"confidence\":82.81,\"source\":\"object_detect\"},{\"attribute\":\"人物职业-新闻主播\",\"confidence\":81.52,\"source\":\"image_classify\"},{\"attribute\":\"超级星光大道\",\"confidence\":63.23,\"source\":\"object_detect\"}]},{\"type\":\"logo\",\"result\":[{\"attribute\":\"中央电视台\",\"confidence\":95.56,\"source\":\"logo\",\"location\":[{\"leftOffsetInPixel\":22,\"topOffsetInPixel\":19,\"widthInPixel\":44,\"heightInPixel\":17}]}]},{\"type\":\"keyword\",\"result\":[{\"attribute\":\"三村\",\"confidence\":100.0,\"source\":\"character\"},{\"attribute\":\"cctv13\",\"confidence\":73.14,\"source\":\"character\"},{\"attribute\":\"习近平\",\"confidence\":72.34,\"source\":\"character\"},{\"attribute\":\"中国政法大学\",\"confidence\":67.11,\"source\":\"character\"}]},{\"type\":\"figure\",\"result\":[{\"attribute\":\"郭志坚\",\"confidence\":68.24,\"source\":\"face_recognition\",\"location\":[{\"leftOffsetInPixel\":174,\"topOffsetInPixel\":61,\"widthInPixel\":64,\"heightInPixel\":60,\"degree\":2}]}]}]",
"type":"TAG"
},
{
"data":"{\"results\":[0.045092,0.023051,0.008883,0.074726,-0.065495,-0.069991,0.061136,-0.01942,-0.08969,-0.012637,-0.035285,0.07571,0.089068,0.036235,-0.007241,0.091435,0.117643,-0.008789,-0.074311,0.008013,-0.075468,-0.006909,-0.038556,0.058478,-0.052346,-0.046323,-0.029679,-0.058834,-0.053516,-0.057613,-0.021137,0.022482,0.030116,0.026666,-0.073087,-0.058333,-0.004968,-0.044358,-0.001232,0.116278,-0.103733,-0.062791,0.050058,0.041522,0.080339,0.048393,0.019796,0.015137,-0.026968,0.04217,-0.005517,0.019396,-0.02331,0.06058,0.091042,-0.086276,0.038409,-0.110672,0.046897,-0.107727,-0.029951,-0.048555,0.013426,-0.063993,0.064819,0.013492,0.021031,0.115493,0.014692,0.013902,0.025368,-0.006168,0.022588,-0.165181,-0.012515,0.042169,0.105526,2.35E-4,-0.085976,-0.104504,0.006875,-0.05253,0.005974,0.146034,0.081253,0.075955,0.073951,-0.043975,-0.069658,-0.032026,0.121711,-0.019236,0.019488,0.019335,-0.08922,0.018715,0.022184,-0.032985,-0.049883,0.026154,0.064162,0.053238,-0.058861,-0.00934,0.020245,-0.037709,-0.025598,-0.037141,0.007344,-0.08229,0.062829,0.014866,-0.0407,0.043705,-0.013536,0.08079,-0.046265,-0.036625,0.104739,0.031634,-0.022246,-0.043434,0.06324,0.058574,-0.035575,0.059261,0.042521,0.084289,0.001061,0.074951,-0.037218,0.007712,0.007044,0.01973,0.091524,-0.038713,-0.032404,0.087106,-0.010173,-0.021033,0.150883,0.004698,-0.030124,-0.120822,-0.066071,-0.142912,-0.006005,-0.114126,-3.15E-4,0.073565,-0.064299,-0.029618,0.061918,0.05597,-0.155651,0.041275,0.020191,-0.034305,-0.033526,0.042411,0.078555,-0.004603,-0.132949,-0.006828,0.019816,-0.068554,-0.059998,-0.161199,-0.02583,0.091848,0.075561,0.021766,-0.068891,0.089217,0.053046,0.017605,0.013094,-0.002748,0.003408,-0.087377,-0.125833,-0.009874,-0.035477,-0.072905,0.145933,0.056018,0.093832,-0.029319,-0.003509,-0.013663,-0.036118,-0.014608,-0.05988,0.028915,-0.001079,-0.035517,-0.032601,0.058237,-0.060719,0.02655,-0.021183,-0.01696,-0.009278,-0.030306,0.005651,0.009799,0.024819,0.056348,0.020245,-7.1E-5,-0.00234,-0.066524,0.027523,0.055609,0.034989,-0.060481,-0.047727,-5.55E-4,-0.047237,0.081917,0.028212,-0.025404,-0.142591,-0.060678,-0.10633,0.086685,-0.034018,-0.082684,0.082231,0.135405,-0.072331,-0.008428,-0.015617,-0.052071,0.134138,0.062763,-0.019004,0.037007,-0.09606,0.096184,-0.034337,0.063412,0.028886,-0.065992,-0.09638,-0.014156,0.004397,-0.028824,0.082958,0.121197,0.047917,-0.046585,-0.117274,-0.055543,-0.038684,-0.104335],\"word_results\":[{\"name\":\"三村\",\"vec\":[-0.019552,-0.026728,0.021525,0.010445,0.02821,-0.013356,-0.021891,-0.004585,0.021888,0.032941,-0.008311,-0.019622,-0.017419,0.038632,0.038845,0.038385,-0.032329,0.010536,0.011606,-0.003934,0.004387,0.00996,0.027355,0.010032,0.011096,-0.003447,-0.012277,0.012137,0.032366,-0.003709,0.025609,0.002514,-0.001336,-0.007541,-4.13E-4,0.003855,-0.013557,0.01764,-0.026107,-0.001425,0.001717,0.010511,-0.002726,0.001884,0.009282,0.012004,0.003067,-0.005616,0.013663,-0.001687,0.012727,0.022063,-0.021327,0.013658,-0.014547,-0.033105,-0.00991,0.008673,0.029801,-0.001723,0.036197,0.0015,-0.019305,0.004686,-0.014704,-0.002601,-5.05E-4,-0.009955,-0.016754,-0.009626,0.017833,0.00294,-0.002814,-0.016191,-0.009496,-0.002395,-0.0236,0.010558,-0.015149,-0.021251,-2.23E-4,-0.025162,-0.022843,-0.035456,0.014741,0.009772,-0.01023,0.011299,-0.022738,0.027371,0.033975,0.014617,-0.026208,-0.021233,0.032792,-0.007195,0.008532,0.020257,0.029992,-0.019519,-0.02537,-0.006863,-0.022681,-0.012985,0.002444,-0.014513,0.007631,-0.020061,-0.033361,-0.008073,3.27E-4,-0.02592,-3.99E-4,0.016429,0.013189,0.016465,-0.009128,0.016821,0.022303,-0.014167,0.033938,0.036236,-0.019646,-0.004821,0.00805,0.015473,0.012287,0.029908,0.007565,0.005963,0.010181,-0.025977,0.005536,-0.013963,-0.006713,0.025688,-0.009405,0.01932,0.024341,0.018754,0.018739,-0.008638,-0.013233,-0.004466,0.001533,0.010508,-0.014775,0.004692,0.030936,0.015517,0.004514,0.02556,0.025682,0.023963,-0.01632,-0.013866,-0.020136,-0.030657,-0.032124,-0.015114,0.001197,-0.017332,0.003766,0.027427,-0.0072,9.0E-5,0.011595,-0.007021,-0.004325,-0.004069,-0.005467,-0.023029,-0.003755,-0.023162,0.004329,0.00654,0.017516,0.037138,-0.010503,2.59E-4,0.00616,-0.030172,0.02932,0.002411,0.005063,-0.014181,-0.011842,0.009794,0.020611,0.02063,-0.020655,-0.033227,-0.021709,-0.019785,0.001793,0.013512,-0.035179,0.003489,-0.038093,-0.00554,0.025879,-0.004726,0.010162,0.010294,-0.00526,0.009261,-0.01738,0.027938,-0.031542,-0.001061,-0.010076,-0.014032,0.024535,-2.26E-4,-0.017833,0.013214,-0.001513,0.032847,0.017435,-8.51E-4,0.016089,-1.61E-4,0.00325,-0.012587,-0.026165,0.016312,0.005643,-0.017318,0.014421,0.01541,0.008461,-0.017346,-0.013495,-6.66E-4,0.024269,-0.01869,-0.027532,0.013079,-0.034367,-0.005424,-0.012716,-0.021729,0.011449,0.018577,-0.011789,-0.015075,-0.004684,0.004112,-8.85E-4,-0.034962,0.004395,0.037489,-0.008924,-0.026185,-0.014039,-0.008961]},{\"name\":\"中国政法大学\",\"vec\":[-0.258996,0.479467,0.572648,0.689806,-0.040046,0.541075,2.222944,-0.386188,-1.343127,0.519904,0.103887,0.104912,2.394184,1.480518,0.979773,1.298888,1.231462,-1.114446,-0.965525,-0.826131,-1.409252,0.642206,-0.139952,1.686709,-0.820584,-0.237468,0.448678,-0.748088,0.174679,0.068181,0.253959,1.594412,-0.097847,1.112209,-0.466078,-1.730299,0.183444,-1.288829,-0.599654,1.681012,-1.697553,0.168413,1.185549,-0.965002,1.672637,0.141262,0.526036,-1.404748,-0.384164,1.606834,-0.929397,-0.085028,1.169303,2.027247,1.057956,-1.424064,0.730672,-0.427502,1.547843,0.116684,-0.902714,-0.352154,0.704476,-0.332331,-0.926761,-0.075736,-0.260953,1.219705,-2.227743,-0.327154,-0.563362,-1.526518,-1.416589,-2.499727,-0.522364,1.300135,1.75081,0.675962,-0.488721,-1.917755,-0.266739,-0.565454,1.33551,1.049284,1.180212,0.601908,0.313665,0.743181,0.357225,0.576581,2.267508,-1.239214,0.677995,1.094058,0.549081,-1.408299,0.562819,1.849556,-0.731486,1.05589,0.429116,2.298392,-0.166061,-0.018311,-0.631821,-1.301589,-0.134138,0.944279,-0.664665,-1.79175,0.775627,-0.36851,2.078217,1.478911,1.034804,0.679288,0.886729,-0.620401,0.820369,-0.132406,-0.359354,-1.915193,0.913444,-0.096737,-3.199465,1.674426,0.223113,1.233213,-0.0135,1.623518,-0.513892,-0.621054,-1.566157,1.979824,1.658493,0.45311,0.073818,0.88786,-0.943185,0.862529,1.058321,-0.002406,-1.371262,-0.884947,0.45722,-0.880529,1.862811,-1.014028,-0.810326,1.847382,1.030129,0.435496,1.208006,0.235601,-1.359928,0.24109,1.420463,-0.975375,-1.266259,0.569918,0.642717,-1.173937,-1.620371,-0.036693,0.53876,-1.085043,-0.297018,-1.262893,1.53E-4,-0.686527,0.121865,0.009535,-0.270905,-1.534991,-0.009228,1.066871,1.726499,-0.570735,-1.424699,-1.292542,-1.563884,1.718938,-0.915642,0.092978,0.736896,1.617212,1.636791,-1.284732,-1.819083,-1.016354,-0.397595,-0.477551,-0.200186,-0.223184,1.294119,2.03187,-0.269304,0.518152,-0.29666,-0.858022,-0.199007,-0.902267,-0.991226,0.527278,-0.265635,-0.552287,-0.9754,0.644077,-1.162215,0.304422,-0.805457,-1.740362,-1.268095,-1.141492,1.567805,-0.28452,-1.328546,-2.055715,-0.883235,1.890814,1.10171,0.656017,-2.494889,1.306967,-3.423891,-0.626477,-0.021882,-0.809792,0.86931,-0.767576,-0.952209,-1.339423,-0.031426,-1.835375,0.335175,0.317996,0.109385,-0.164911,-0.521487,1.658332,-1.676271,0.448759,0.935526,-1.797871,-0.48561,-1.261688,-0.08279,-1.604909,0.675337,2.106246,0.230473,-1.701284,0.090812,-0.894868,0.264607,-1.758537]},{\"name\":\"习近平\",\"vec\":[0.652239,0.540064,-1.13522,1.391498,-0.720296,-1.260749,-0.710166,0.157335,-0.372984,-0.878399,-0.783882,0.263036,-0.525558,-0.01087,-0.664725,-0.361303,1.039375,1.015868,-0.351282,0.310759,-0.366176,0.268974,0.383978,1.660086,-0.923152,-0.89772,-1.184724,-1.044078,-0.701192,0.385085,0.63318,-0.04444,-0.55626,0.036737,0.10629,0.024734,0.322061,-0.077095,-0.494472,0.728831,-0.885149,-1.167798,1.118957,1.047787,0.638936,1.311722,-0.512344,1.141545,-0.645841,0.341261,0.008448,-1.024005,-0.358645,0.009135,0.694389,-1.170225,0.689332,-0.197122,-0.106218,-0.631671,0.244841,0.108033,0.213052,-0.730026,-0.120281,0.717684,0.826213,0.796831,-0.407119,0.330473,0.527821,0.399349,-0.057684,-0.868328,-0.824088,1.375475,0.434301,0.683002,-0.169274,-1.059252,0.445983,-0.453655,-0.720807,1.285271,0.358123,0.23714,0.041536,-0.921423,-0.285278,0.004364,1.055124,-0.344843,-0.208818,0.191287,-0.001973,-0.077241,-0.326062,-1.105643,-0.386879,-0.166097,0.651854,0.555542,1.056171,0.423068,-0.197669,-1.005972,-0.727075,-0.059179,-0.412199,0.111727,1.171306,-0.69915,-0.315633,-0.777773,0.449182,0.778257,0.465578,-0.397693,1.15534,0.267968,-0.844775,-0.00201,0.318859,0.383819,0.362832,-0.715085,0.69429,1.188766,0.644844,0.074071,-1.305084,-0.592333,1.690407,-0.306034,-0.212367,0.124523,-0.529018,1.043411,0.215779,1.252352,0.996786,0.665489,-9.11E-4,-1.023139,0.467472,-0.938544,-0.025166,-1.283435,0.286345,1.015027,-0.921681,-1.208625,0.217736,-0.601385,-1.165155,0.397928,0.26642,-0.427869,0.529367,0.093883,0.692671,0.513708,-1.067087,0.416858,1.206412,-0.883338,0.206639,-0.473608,-0.221446,0.111432,0.944685,0.088864,-0.433298,1.289026,-0.059584,1.055555,0.467867,-0.851367,-0.284272,-1.358694,-1.207756,-0.450637,-0.542614,-0.810896,0.497206,-0.726884,0.589515,0.795095,0.133291,0.83935,0.231575,0.798388,-0.555956,0.749594,-0.798359,-1.443669,0.289185,0.515598,-0.488744,1.072515,0.12571,0.546582,-0.169637,-0.176534,0.732231,-0.242425,0.533396,0.390764,0.28905,0.836865,0.115642,-0.621485,-0.097514,-0.179682,0.674272,0.420031,-0.844724,0.144871,0.995296,1.085352,-0.970648,0.53597,-1.08061,-0.278253,0.740406,0.852785,-0.810149,0.730815,1.126405,1.120673,-0.80079,-0.814576,0.857042,0.080946,0.821984,0.314927,-0.930271,0.117491,-1.001923,0.609348,-0.931503,0.166739,0.361827,-1.185871,-0.177837,0.538731,-0.282534,-0.451948,0.195425,0.722551,0.498027,1.272239,-1.679185,-0.342413,0.424468,-0.323692]},{\"name\":\"人物职业-新闻主播\",\"vec\":[0.800663,0.202843,0.534332,0.293479,0.260316,-0.809467,-0.011906,-0.112067,-0.789176,0.346112,0.249033,0.383299,0.298193,0.156158,0.413165,0.44608,0.246214,-0.187082,-0.620112,-0.293803,-0.521126,-0.207277,-0.158868,-0.148288,-0.047351,-0.227584,-0.32581,-0.355096,-0.171579,-1.74079,-0.428886,0.169236,0.431218,0.094802,-0.858145,-0.939261,0.057547,-0.049738,-0.611478,0.820574,-0.569359,0.138147,0.572296,0.881106,0.446998,-0.591297,0.763394,0.581706,0.420064,-0.021151,0.319383,0.860427,-0.192823,0.78495,0.81051,-0.897395,-0.290861,-0.274243,0.358362,-1.05204,0.510506,-0.046857,0.16116,0.032657,0.929649,0.785495,-0.006414,0.843976,0.481382,0.84847,0.029753,0.324637,0.623396,-1.353217,-0.559354,-0.166431,0.635115,-0.615074,-0.469812,-0.949582,0.409345,-1.019539,-0.580074,0.649342,-0.250294,0.065357,0.812032,-0.690692,-0.793037,0.587125,0.462902,0.417219,0.005713,-1.044295,-0.742515,-0.693192,0.681052,-0.340398,-0.074525,-0.286061,0.57852,-0.433943,-0.673218,-0.287735,0.127617,0.141111,0.096192,-1.224043,0.128172,-0.405835,0.586524,0.521116,0.19933,0.274156,-0.492161,-0.194003,-0.274027,-0.927291,-0.361742,0.334515,-0.250276,-0.127256,0.731031,0.071877,-0.150195,-0.007513,0.053456,0.40847,-0.249584,1.011772,-0.475108,0.911813,0.085275,-0.910229,0.381437,-0.682347,-0.631707,0.086834,-0.469444,-0.703371,0.727791,-0.461295,-0.932386,0.193361,-0.354781,-0.881907,-0.754733,-0.151418,-0.089392,-0.583501,-1.067685,0.388363,0.359244,0.493289,-1.254105,0.943334,0.515061,-0.478055,0.154969,0.89262,0.073033,0.590044,-1.286125,-0.717233,-0.065582,-0.82507,-0.225965,-0.65973,0.029553,0.984919,0.696879,0.416796,-0.738905,1.398907,0.451339,-0.059908,-0.505103,-0.106742,0.129296,0.804513,-0.438891,-0.838516,0.41218,-1.359278,1.149494,0.402428,0.724462,-0.749151,0.789945,-0.337582,0.090512,-1.293061,-0.48612,-0.115131,0.537801,-0.103256,0.172375,-0.104494,-0.601537,0.888128,-0.322272,-0.307049,-0.217283,-0.976238,0.1216,-0.80712,0.135222,-0.22483,-0.677317,-0.610187,-0.664377,-0.122079,-0.337378,0.708166,-0.31991,-1.019215,0.096119,0.462392,-1.579367,0.348953,-0.058913,-0.455615,0.140272,-0.816676,-0.560443,0.674236,-0.204955,-0.27794,-0.142784,1.179178,-0.337815,0.623463,-0.900182,-0.85232,1.558902,0.259254,-0.142673,0.657616,-0.290504,0.814053,0.218434,0.59236,0.063583,-0.409991,-0.007695,-0.765018,0.986791,-0.062037,-0.252721,0.74239,-0.206163,0.302264,-0.588425,-0.365621,-0.885397,-0.589999]},{\"name\":\"超级星光大道\",\"vec\":[-1.150204,-0.930611,0.915901,0.973887,-0.237889,-0.408671,0.687978,0.560658,0.143641,0.137754,0.2637,0.32484,0.365607,-0.785713,0.435347,0.649487,0.101837,-0.315927,-0.853808,1.949886,-0.601193,-0.20186,-0.943779,-0.615995,0.333576,0.261134,0.420632,-0.077935,-1.395134,-0.70607,-0.089154,0.0772,-0.036353,-0.566557,0.061405,-1.051587,-0.70252,-0.116882,0.117307,1.21478,0.208277,1.097395,-0.425176,-1.035933,-0.179884,-0.343415,-1.259634,-0.365029,0.97804,0.099268,1.498986,0.0435,0.345964,0.117842,0.786971,-0.412086,-0.707974,-1.217644,-0.472565,0.227601,-0.637676,-0.764769,-0.84537,-0.386408,-0.476415,-0.590738,0.325376,0.924989,0.657647,1.064756,-0.060516,-0.589357,0.707314,-0.758934,1.222439,-0.098093,0.210634,0.441338,-0.134259,-0.507433,-0.484068,-0.055611,1.078731,0.423593,-0.240356,2.111576,-0.184396,-0.559931,-0.60474,-1.167737,-0.464469,0.71163,0.283221,1.240547,0.244393,1.170035,-0.493894,1.23537,-1.175688,0.506799,-0.214048,-1.477873,-0.091622,-1.258049,-0.084904,-0.547327,-0.199921,-0.204103,0.252293,-1.011971,0.45973,0.063296,-0.372515,0.667385,-1.333082,0.037568,-0.341648,-0.664058,-0.603088,-0.611219,0.185788,0.728712,-0.126458,1.024278,0.635415,0.709593,-0.226367,0.420393,1.414926,0.499063,0.897268,-1.002855,0.460893,0.69341,-0.249748,0.901007,1.866609,0.558346,-0.951307,-0.543344,0.093319,-0.025177,0.217493,-1.299532,-1.53826,-1.127132,1.552263,1.344394,-0.343336,-0.291035,0.92335,-0.640771,-0.441854,0.703906,0.053544,0.037763,0.034907,-0.528139,0.396645,1.394048,0.841426,-0.305246,0.136285,0.276265,0.017076,0.549949,0.27072,-0.655973,0.62803,0.591049,0.17635,-1.35747,0.035614,1.124553,0.127526,-0.463902,0.472672,-0.979529,1.809979,-0.024051,0.167,-0.086823,0.137298,-0.56094,1.278358,0.860434,-0.531004,0.107244,-0.786475,-0.414971,-0.277907,0.145,-0.657821,0.360525,0.23256,-0.35519,-0.132797,0.664998,0.836551,-0.660036,-0.321051,-0.984729,-0.259891,-0.062683,-0.923088,-0.036692,0.815259,0.444807,0.076761,-0.20514,0.945737,-0.290241,-0.435245,0.636487,-0.783732,0.005803,0.545363,0.312437,-0.539205,-0.72834,1.182057,0.77081,-0.819484,-0.219911,0.419607,-0.056272,0.105124,-0.746949,0.787443,1.344201,0.06055,0.887661,0.356666,-0.321299,1.297884,-0.138043,0.806997,-0.253544,-0.516204,0.070223,-0.486154,0.393325,0.097428,0.295345,-0.50815,-0.649537,-0.460793,1.125636,0.425331,0.295201,0.370396,-0.54235,-0.060088,0.89681,-0.768906,-1.187397]},{\"name\":\"中央电视台\",\"vec\":[0.319554,-0.095577,0.547604,-0.108563,-1.05734,-1.194947,0.580226,-0.714681,-0.450781,-0.021705,-0.111905,0.456528,0.889427,0.209582,-0.592244,0.376551,0.098061,-0.255329,-1.029565,-0.321322,-0.932927,-0.328502,0.098001,-0.039165,-0.282612,-0.567986,-0.01835,-0.415159,-0.518551,0.115108,-0.062049,-0.09157,0.563387,0.495806,-0.721168,-0.139852,0.131511,-0.450794,-0.223169,0.437997,-0.604811,-0.197999,0.002833,0.372921,0.205371,0.414926,0.135216,0.635241,-0.849338,0.48325,-0.396292,-0.227977,-0.811014,0.701899,-0.024308,0.057778,-0.096902,-0.635313,0.438691,-0.817868,-0.309049,-0.126606,-0.656545,-0.078654,1.0338,0.474258,0.103463,0.729883,0.34059,-0.135531,-0.020145,-0.1449,0.263957,-1.042065,-0.535296,0.539864,1.179957,-0.075416,-0.585262,-0.314196,0.670313,-0.331034,0.577963,0.73569,0.019613,0.110382,0.138558,-0.145701,-0.052769,0.159174,0.545418,-0.029377,0.011422,-0.210405,-0.579425,0.431964,-0.112221,-0.974052,-0.128227,-0.077288,1.008023,0.492817,-0.344183,0.196711,0.346479,0.437531,-0.3546,-0.621536,-0.242435,-0.40212,0.212537,0.014734,-0.654991,-0.136141,-0.37513,0.502039,-0.301044,-0.156778,0.989471,0.52759,-0.230307,-0.605845,0.638264,0.476868,0.37163,0.526212,0.209637,0.730084,-0.104993,0.694267,-0.259936,0.521861,0.287955,-0.225012,0.890197,-0.160072,-0.290224,0.242846,0.356358,-0.207557,0.294102,-0.230871,0.151941,-0.426163,-0.19126,-0.548879,-0.469588,-0.108786,-0.020538,0.220279,0.113477,0.060558,0.126678,0.04435,-1.175684,0.085358,-0.303926,-0.18598,-8.86E-4,0.050234,0.005911,0.565854,-0.959239,-0.068058,0.302473,-0.268211,-0.81386,-1.22915,-0.520123,0.470724,0.467251,0.392531,-0.676237,0.776434,0.444595,0.350351,-0.63889,0.340284,-0.10827,-0.015565,-0.86922,-0.526651,-0.26789,-0.592326,0.899323,-0.130191,0.741858,-0.108805,0.374626,0.155585,-0.253218,-0.17073,0.155802,-0.039697,-0.029464,-0.575881,-0.269951,0.32487,-0.467402,0.517454,-0.21596,0.383995,0.037603,-0.597898,0.350282,-0.279116,0.514878,0.814092,0.414522,0.722724,0.095573,-0.104996,1.233168,0.607172,-0.123482,-1.021716,-0.293255,0.042736,0.187328,0.047115,-0.380848,-0.00115,-1.299097,-0.446306,0.264792,0.998367,-0.11899,-0.824784,0.932543,0.655145,-0.528101,0.515288,-0.426691,-0.052054,0.708748,0.559502,0.590075,0.73954,-0.380747,0.753336,-0.260432,0.466452,0.388686,-0.037006,-0.600331,0.638323,0.537494,0.00103,1.030383,0.259236,0.524285,-0.673951,-1.075216,-0.24126,-0.381223,0.248607]},{\"name\":\"人物特写\",\"vec\":[-0.018551,0.018236,-0.004328,-0.011404,-0.025516,0.020515,-0.029922,0.008932,-0.018081,0.004005,-0.006032,0.009923,1.4E-4,-0.021,-0.004361,-0.00199,-0.010266,0.015675,0.006571,-0.021913,-0.012219,0.022963,-0.008482,-0.012716,-0.003927,-0.003335,0.010713,0.024696,0.012607,-0.019153,0.037188,-0.018482,-0.008725,-0.02291,-0.00654,0.021203,-0.013295,0.007459,0.001224,0.02439,0.001076,0.024391,-0.020794,0.009317,0.01882,-0.035042,-0.018657,-0.015985,0.005021,-0.019716,0.021607,-0.026411,-0.015639,-0.028543,0.025466,0.009728,0.004507,0.003572,-0.003002,-0.018009,0.0175,-0.039562,-0.017162,-0.03444,0.002312,-0.004528,-0.016626,-0.004108,-1.08E-4,-0.016465,-0.012244,-0.027994,0.024721,7.03E-4,-0.003552,0.010411,-0.005338,-0.001901,0.009281,-0.033737,0.005914,-0.02019,-0.031845,0.008035,0.016065,0.038126,-0.029292,-0.029846,0.030204,-0.023754,0.008664,-0.012597,0.002192,0.02438,0.010039,0.016366,0.005839,-0.008127,0.018032,0.00468,-0.025162,0.01381,-0.002985,0.005891,-0.009251,-0.004804,-0.012787,0.031349,0.016452,0.001936,0.007214,0.020195,0.006827,-1.29E-4,-0.020992,0.025255,-0.008987,-0.013265,0.020865,0.027943,0.023683,0.020055,0.01925,-0.010703,0.036372,-0.003219,0.021578,-0.014299,-0.026843,0.003006,0.004184,0.00748,0.015621,0.024281,0.025934,-0.005428,-0.009997,-0.012971,0.011976,0.015435,0.011004,-0.006267,0.005982,0.02516,-0.029191,-0.030581,0.025101,-0.008805,-0.017586,0.006787,0.011214,-0.014064,0.006454,0.029696,-0.005343,-0.031993,0.012017,-0.029805,-0.012009,0.016939,-0.010537,-0.005595,0.00597,-0.009667,0.009054,0.020807,-0.038586,-0.022543,0.019961,-0.020579,0.026,-0.020757,0.011673,0.003528,-0.030181,-0.01638,-0.025124,-0.021867,-0.021163,-0.015164,0.029944,0.0108,0.010997,-0.028204,0.025324,0.023077,-0.006631,-0.009671,0.009879,2.64E-4,0.006494,0.012639,-0.014494,0.004245,-0.014724,0.014474,-0.004514,-0.024159,-0.011629,-0.022618,0.002722,-0.001078,-0.029085,0.033309,0.003278,-0.028395,-0.026928,0.01159,0.01438,0.00325,-0.037957,0.01816,-0.008816,-0.005954,0.006354,0.013609,6.17E-4,0.012707,-0.028021,-0.005219,7.4E-4,-0.024739,-0.034864,-0.018178,-0.01471,-0.004095,-0.005973,0.003543,0.008213,-0.020134,-0.006787,0.017364,-0.016947,-0.018191,0.015037,0.013599,-0.013919,0.02211,-0.023818,0.01482,-0.022843,0.007426,-0.013601,0.003265,-3.27E-4,-0.014206,0.020146,-0.019707,-0.001675,0.002185,-0.012673,-0.005883,0.026794,-0.013076,0.034268,0.008556]},{\"name\":\"郭志坚\",\"vec\":[0.979188,1.198537,-1.516858,0.514101,-0.205205,0.311028,-0.332952,0.260157,-1.933272,-1.186033,-1.091616,1.309666,-0.132565,0.876781,-0.931535,0.617858,3.122815,0.093225,0.47411,0.135914,1.344734,-0.309696,-0.294015,1.011987,-0.735832,-0.362328,0.005055,0.358378,0.387199,-1.195526,-1.151427,-0.471098,-0.130145,-0.168846,-0.893085,0.169772,-0.090713,0.645264,1.388427,0.322888,-0.433147,-2.802765,-0.375381,0.931273,1.453674,0.824261,1.126562,-1.428697,-0.396016,-0.356896,-0.711561,1.945257,-0.68149,0.328075,0.246767,-1.464147,1.949611,-0.5783,0.529349,-2.131677,0.109119,-0.460833,2.268621,-0.689269,1.559505,-1.268896,0.783407,1.163017,1.59043,-0.937062,1.068387,1.103126,0.884889,-0.821572,0.534012,-0.051614,0.097023,-1.245934,-0.982216,0.262639,-0.740511,0.594914,-1.45275,1.182753,1.664179,0.191119,1.770485,-1.479259,-1.853692,-1.748455,1.776419,-0.380124,-0.21363,-0.809784,-1.996377,0.066265,0.499619,-0.653869,0.006961,0.206984,-0.17343,0.696348,-1.93618,0.054646,1.26016,0.237477,0.321042,-0.666957,1.437468,-0.290067,-0.618803,0.250914,-0.943734,0.80248,0.41462,1.451174,-1.375234,1.84365,2.170439,0.366634,0.21767,-0.138908,0.247486,0.389418,-1.053401,-0.02821,0.244521,-0.082444,-1.299352,-1.626043,0.582157,0.604766,-0.856551,-0.421829,1.263759,-1.785969,-0.73657,1.425234,1.149018,-0.656569,2.663467,0.157075,0.00712,-2.350714,-1.48985,-1.7055,-1.676301,-3.030253,0.742203,0.447522,-1.724075,0.479377,1.475604,1.295026,-1.253469,-0.00733,-1.897173,0.578799,-1.311582,-0.319949,2.72811,-0.162021,0.584665,0.555771,-1.242171,0.231085,-1.339844,-1.738513,-1.089067,1.364008,0.297191,0.464901,-0.949231,0.921876,1.442384,-1.876927,0.253234,0.818653,0.330582,-2.049873,-1.701958,0.649221,-0.156762,0.654267,0.667244,0.988112,0.760912,-0.117369,0.536344,0.292609,-1.121,0.21665,-1.403015,0.747605,-0.544921,-0.442206,-1.408045,0.259713,-0.964226,1.040988,-1.196796,0.150864,1.025921,0.72114,0.058572,1.562946,-0.537842,-0.265963,1.716723,-1.745437,0.263382,-0.139436,1.23262,0.991408,1.228199,-0.195404,0.200865,1.221888,-0.230873,1.341876,-0.986124,-2.12338,-0.823407,-1.415688,-0.64164,1.529412,-0.404811,-1.170198,0.245469,1.579561,0.430119,-0.018257,-0.708441,0.468075,0.503812,1.175603,-1.509429,0.216085,-1.584344,-0.327798,2.25406,0.474108,-0.446055,-0.130605,-2.086151,1.017961,-1.417665,-0.624789,1.044004,0.827024,0.905258,0.072026,-1.769508,-1.460159,1.113906,-0.775342]},{\"name\":\"cctv13\",\"vec\":[0.876638,-0.271316,0.494047,-0.138959,-1.170032,-0.570708,0.572639,-0.708856,0.403864,0.434212,-0.321494,0.829278,1.035964,-0.191523,-0.02448,1.358493,-0.107111,0.312361,-0.266203,-0.541888,-1.156374,-0.230937,-0.829068,-0.724229,-0.06304,-0.201778,-0.779405,-0.60047,-0.408818,0.310318,-0.240746,-0.130365,1.292669,0.316056,-0.75726,0.820037,-0.114762,-0.8325,0.388335,0.39496,-1.038339,-0.307294,0.365597,0.76494,-0.380072,0.60622,0.193857,1.593711,-0.44581,-0.091509,-0.090742,-0.569673,-0.561761,-1.024169,0.820247,1.160581,-0.410749,-2.035015,-0.053983,-0.901721,-0.517361,-0.6672,-1.159558,-0.881369,1.147982,0.617642,-0.736751,-0.078265,0.292289,-0.14547,0.239466,0.160367,0.065334,-0.630004,0.092372,-0.867763,0.825079,0.138834,-1.323005,-0.514,0.292504,-0.665002,0.105049,1.764731,1.167707,0.308341,0.724436,0.945426,-0.144352,0.036307,0.201274,-0.067708,0.410693,0.470636,-1.831349,1.406509,0.247289,-1.618472,0.02914,0.039622,0.873839,0.436745,-0.666185,0.445008,0.166139,0.234222,-0.234459,0.023847,-0.126527,-0.183962,0.444379,0.942366,-1.965667,-0.211435,-0.345118,0.611542,-1.279939,-0.852417,0.85196,0.7632,0.147656,-0.096559,0.336489,0.599048,1.268101,0.694621,0.824099,0.162702,-0.321728,1.339532,-0.739886,0.569287,0.217733,0.133823,0.675754,-0.742961,-1.300803,-0.037836,0.11444,-1.055541,1.434247,0.139296,0.478266,-0.073386,-0.518543,-0.809683,-0.790046,-1.272323,0.206473,0.880149,-1.479206,-0.958435,0.017257,0.482678,-1.351948,0.344091,0.948927,0.417835,-0.079684,-0.631262,-1.175042,-0.228128,-2.228244,-0.774918,0.19964,-1.056042,-0.67561,-1.747275,-0.092082,1.631482,0.929934,1.081378,-0.307012,0.359011,0.194494,0.78929,-1.135357,1.201261,-0.256098,-0.275079,-0.507589,-0.923742,-0.422807,-0.924224,1.799425,-0.310566,0.634329,-0.06048,0.571119,-0.200361,-0.005149,0.095325,0.287297,-0.065622,-0.730999,-0.85749,0.081421,0.658572,-0.905072,-0.688701,1.076217,0.298105,0.144679,-0.944469,0.201345,0.847783,0.759237,0.882897,0.338854,0.691135,-0.015634,-0.20308,0.987919,1.073762,-0.539357,-0.857081,-0.683328,-0.201025,-0.224068,-0.017622,1.460479,-0.586475,-0.487869,-1.034164,-1.900815,0.808419,-0.189364,-0.886581,0.136239,1.442687,-1.37187,-0.261806,0.128125,0.012339,1.222075,0.55153,0.198214,0.44244,-0.29276,1.065259,-0.743369,0.539594,-0.00169,0.052316,-0.783737,-0.174192,0.91673,0.238464,0.897218,0.94209,0.003608,-1.013737,-0.608455,-0.239701,-1.658738,-0.659612]}]}",
"type":"TAG_FEATURE"
}
],
"source":"http://domain.com/dir/image.jpg",
"status":"FINISHED",
"title":""
}
分析失败时返回:
{
"error": {
"code": "InternalError",
"message": "subtask image_classify internal error, please retry"
},
"preset": "default",
"source": "http://domain.com/dir/image.jpg",
"status": "ERROR",
"title": ""
}