英语专项识别
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| Action | String | 是 | RecognizeEnglish |
系统规定参数。取值:RecognizeEnglish。 |
| Url | String | 否 | https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg |
图片链接(长度不超 2048,不支持 base64) |
| String | 否 | 图片二进制文件 |
图片二进制文件,最大10MB,与URL二选一。 使用HTTP方式调用,把图片二进制文件放到HTTP body 中上传即可。 使用SDK的方式调用,把图片放到SDK的body中即可。 |
|
| NeedRotate | Boolean | 否 | false |
是否需要自动旋转功能(结构化检测、混贴场景、教育相关场景会自动做旋转,无需设置),返回角度信息 |
| OutputTable | Boolean | 否 | false |
是否输出表格识别结果,包含单元格信息 |
返回数据
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| RequestId | String | 43A29C77-405E-4CC0-BC55-EE694AD00655 |
请求唯一 ID |
| Data | String | {"content":"2:1.*5RI, 99034n&; 2.4079#17; 3.48MM; 4.AMF*E9P7EExg条. 0 O Denr_Ms Jenkins, Im_Li Hun ya_student_of your_English_c loss. Im_writing_tn_ask_for yow r help.The_ sumer Vacation_ _is_.coming.And_I_woud_like.to sply for a port-time_ _jo) _at a for i en com zany. in_ my a ity. I_hoe just_completed_my_ayp lic n tion_ ptter on d__ yes ume.How eyer, I/m_not_sure that_the len guo ge_and_fo mot_ore_right.I_know_you hae a_very pusy schedule, put_Id_be very grn te ful_if you_could_take_ s0me time_to 90_ though_them_and_ make necce55ary_chong es looking for word_to youre orly_reply.And I'd_e_re olly_t honk ful. You Ys- Li huo. 6121at1#x ","height":2340,"orgHeight":2340,"orgWidth":1654,"prism_version":"1.0.9","prism_wnum":32,"prism_wordsInfo":[{"angle":-89,"direction":0,"height":960,"pos":[{"x":475,"y":225},{"x":1434,"y":225},{"x":1434,"y":260},{"x":475,"y":260}],"prob":67,"width":34,"word":"2:1.*5RI, 99034n&; 2.4079#17; 3.48MM; 4.AMF*E9P7EExg条.","x":937,"y":-237}],"width":1654} |
返回数据 |
| Code | String | 200 |
状态码 |
| Message | String | message |
详细信息 |
示例
请求示例
http(s)://[Endpoint]/?Action=RecognizeEnglish
&Url=https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg
&NeedRotate=false
&OutputTable=false
&公共请求参数
正常返回示例
XML格式
HTTP/1.1 200 OK
Content-Type:application/xml
<RecognizeEnglishResponse>
<RequestId>81506A9D-89D1-4D61-819E-5DBBD8E2915E</RequestId>
<Data>{"content":"2:1.*5RI, 99034n&; 2.4079#17; 3.48MM; 4.AMF*E9P7EExg条. 0 O Denr_Ms Jenkins, Im_Li Hun ya_student_of your_English_c loss. Im_writing_tn_ask_for yow r help.The_ sumer Vacation_ _is_.coming.And_I_woud_like.to sply for a port-time_ _jo) _at a for i en com zany. in_ my a ity. I_hoe just_completed_my_ayp lic n tion_ ptter on d__ yes ume.How eyer, I/m_not_sure that_the len guo ge_and_fo mot_ore_right.I_know_you hae a_very pusy schedule, put_Id_be very grn te ful_if you_could_take_ s0me time_to 90_ though_them_and_ make necce55ary_chong es looking for word_to youre orly_reply.And I'd_e_re olly_t honk ful. You Ys- Li huo. 6121at1#x ","height":2340,"orgHeight":2340,"orgWidth":1654,"prism_version":"1.0.9","prism_wnum":32,"prism_wordsInfo":[{"angle":-89,"direction":0,"height":960,"pos":[{"x":475,"y":225},{"x":1434,"y":225},{"x":1434,"y":260},{"x":475,"y":260}],"prob":67,"width":34,"word":"2:1.*5RI, 99034n&; 2.4079#17; 3.48MM; 4.AMF*E9P7EExg条.","x":937,"y":-237},{"angle":-90,"direction":0,"height":46,"pos":[{"x":161,"y":270},{"x":206,"y":270},{"x":206,"y":309},{"x":161,"y":309}],"prob":63,"width":40,"word":"0","x":164,"y":266},{"angle":-90,"direction":0,"height":40,"pos":[{"x":237,"y":273},{"x":276,"y":273},{"x":276,"y":308},{"x":237,"y":308}],"prob":88,"width":35,"word":"O","x":239,"y":270},{"angle":-88,"direction":0,"height":321,"pos":[{"x":425,"y":320},{"x":745,"y":325},{"x":744,"y":377},{"x":424,"y":372}],"prob":96,"width":53,"word":"Denr_Ms Jenkins,","x":558,"y":186},{"angle":-89,"direction":0,"height":951,"pos":[{"x":507,"y":398},{"x":1457,"y":401},{"x":1457,"y":463},{"x":506,"y":460}],"prob":95,"width":60,"word":"Im_Li Hun ya_student_of your_English_c loss.","x":952,"y":-45},{"angle":0,"direction":0,"height":60,"pos":[{"x":426,"y":481},{"x":1359,"y":475},{"x":1359,"y":537},{"x":427,"y":543}],"prob":92,"width":933,"word":"Im_writing_tn_ask_for yow r help.The_","x":426,"y":478},{"angle":-90,"direction":0,"height":140,"pos":[{"x":1372,"y":490},{"x":1512,"y":490},{"x":1512,"y":530},{"x":1372,"y":530}],"prob":96,"width":39,"word":"sumer","x":1423,"y":440},{"angle":-2,"direction":0,"height":43,"pos":[{"x":419,"y":570},{"x":570,"y":564},{"x":572,"y":607},{"x":420,"y":613}],"prob":91,"width":152,"word":"Vacation_","x":419,"y":566},{"angle":-89,"direction":0,"height":867,"pos":[{"x":580,"y":553},{"x":1446,"y":559},{"x":1446,"y":615},{"x":579,"y":609}],"prob":88,"width":56,"word":"_is_.coming.And_I_woud_like.to sply","x":984,"y":150},{"angle":0,"direction":0,"height":50,"pos":[{"x":431,"y":643},{"x":813,"y":640},{"x":813,"y":690},{"x":431,"y":693}],"prob":86,"width":382,"word":"for a port-time_","x":431,"y":641},{"angle":-90,"direction":0,"height":266,"pos":[{"x":822,"y":639},{"x":1087,"y":639},{"x":1087,"y":690},{"x":822,"y":690}],"prob":89,"width":51,"word":"_jo) _at a","x":929,"y":531},{"angle":-88,"direction":0,"height":152,"pos":[{"x":1135,"y":637},{"x":1287,"y":642},{"x":1285,"y":689},{"x":1134,"y":685}],"prob":98,"width":47,"word":"for i en","x":1187,"y":587},{"angle":-90,"direction":0,"height":160,"pos":[{"x":1290,"y":645},{"x":1450,"y":645},{"x":1450,"y":694},{"x":1290,"y":694}],"prob":93,"width":49,"word":"com zany.","x":1346,"y":590},{"angle":-90,"direction":0,"height":54,"pos":[{"x":421,"y":718},{"x":476,"y":718},{"x":476,"y":766},{"x":421,"y":766}],"prob":98,"width":49,"word":"in_","x":424,"y":714},{"angle":-2,"direction":0,"height":52,"pos":[{"x":492,"y":725},{"x":695,"y":717},{"x":697,"y":769},{"x":494,"y":777}],"prob":94,"width":203,"word":"my a ity.","x":493,"y":720},{"angle":-89,"direction":0,"height":883,"pos":[{"x":505,"y":787},{"x":1387,"y":797},{"x":1386,"y":855},{"x":504,"y":845}],"prob":92,"width":58,"word":"I_hoe just_completed_my_ayp lic n tion_","x":916,"y":379},{"angle":-83,"direction":0,"height":127,"pos":[{"x":1390,"y":788},{"x":1516,"y":803},{"x":1511,"y":847},{"x":1384,"y":832}],"prob":98,"width":45,"word":"ptter","x":1428,"y":754},{"angle":-90,"direction":0,"height":101,"pos":[{"x":424,"y":883},{"x":525,"y":883},{"x":525,"y":920},{"x":424,"y":920}],"prob":77,"width":38,"word":"on d__","x":456,"y":850},{"angle":0,"direction":0,"height":54,"pos":[{"x":529,"y":869},{"x":1439,"y":864},{"x":1439,"y":918},{"x":529,"y":924}],"prob":95,"width":910,"word":"yes ume.How eyer, I/m_not_sure that_the","x":529,"y":866},{"angle":0,"direction":0,"height":59,"pos":[{"x":424,"y":949},{"x":1436,"y":943},{"x":1437,"y":1002},{"x":424,"y":1008}],"prob":93,"width":1012,"word":"len guo ge_and_fo mot_ore_right.I_know_you","x":424,"y":945},{"angle":0,"direction":0,"height":59,"pos":[{"x":426,"y":1022},{"x":1404,"y":1017},{"x":1405,"y":1076},{"x":427,"y":1082}],"prob":93,"width":978,"word":"hae a_very pusy schedule, put_Id_be","x":426,"y":1019},{"angle":-1,"direction":0,"height":56,"pos":[{"x":421,"y":1113},{"x":1187,"y":1095},{"x":1188,"y":1152},{"x":423,"y":1169}],"prob":93,"width":765,"word":"very grn te ful_if you_could_take_","x":422,"y":1103},{"angle":-90,"direction":0,"height":313,"pos":[{"x":1190,"y":1111},{"x":1503,"y":1111},{"x":1503,"y":1156},{"x":1190,"y":1156}],"prob":89,"width":44,"word":"s0me time_to","x":1324,"y":977},{"angle":-88,"direction":0,"height":53,"pos":[{"x":428,"y":1190},{"x":480,"y":1190},{"x":480,"y":1241},{"x":428,"y":1241}],"prob":86,"width":50,"word":"90_","x":429,"y":1189},{"angle":-90,"direction":0,"height":441,"pos":[{"x":504,"y":1182},{"x":945,"y":1182},{"x":945,"y":1236},{"x":504,"y":1236}],"prob":97,"width":53,"word":"though_them_and_","x":699,"y":989},{"angle":-89,"direction":0,"height":569,"pos":[{"x":952,"y":1182},{"x":1522,"y":1190},{"x":1521,"y":1243},{"x":952,"y":1235}],"prob":90,"width":53,"word":"make necce55ary_chong es","x":1210,"y":928},{"angle":0,"direction":0,"height":65,"pos":[{"x":511,"y":1258},{"x":945,"y":1258},{"x":945,"y":1322},{"x":511,"y":1322}],"prob":94,"width":435,"word":"looking for word_to","x":511,"y":1258},{"angle":0,"direction":0,"height":59,"pos":[{"x":979,"y":1266},{"x":1489,"y":1259},{"x":1489,"y":1318},{"x":980,"y":1324}],"prob":94,"width":510,"word":"youre orly_reply.And","x":979,"y":1262},{"angle":-89,"direction":0,"height":517,"pos":[{"x":424,"y":1335},{"x":941,"y":1335},{"x":941,"y":1396},{"x":424,"y":1396}],"prob":94,"width":59,"word":"I'd_e_re olly_t honk ful.","x":652,"y":1106},{"angle":-83,"direction":0,"height":156,"pos":[{"x":1333,"y":1407},{"x":1489,"y":1426},{"x":1483,"y":1477},{"x":1327,"y":1459}],"prob":85,"width":52,"word":"You Ys-","x":1381,"y":1364},{"angle":-88,"direction":0,"height":177,"pos":[{"x":1319,"y":1487},{"x":1495,"y":1493},{"x":1493,"y":1545},{"x":1317,"y":1539}],"prob":77,"width":51,"word":"Li huo.","x":1379,"y":1427},{"angle":-90,"direction":0,"height":306,"pos":[{"x":1244,"y":2240},{"x":1551,"y":2240},{"x":1551,"y":2284},{"x":1244,"y":2284}],"prob":70,"width":44,"word":"6121at1#x","x":1375,"y":2109}],"width":1654}</Data>
</RecognizeEnglishResponse>
JSON格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "81506A9D-89D1-4D61-819E-5DBBD8E2915E",
"Data" : "{\"content\":\"2:1.*5RI, 99034n&; 2.4079#17; 3.48MM; 4.AMF*E9P7EExg条. 0 O Denr_Ms Jenkins, Im_Li Hun ya_student_of your_English_c loss. Im_writing_tn_ask_for yow r help.The_ sumer Vacation_ _is_.coming.And_I_woud_like.to sply for a port-time_ _jo) _at a for i en com zany. in_ my a ity. I_hoe just_completed_my_ayp lic n tion_ ptter on d__ yes ume.How eyer, I/m_not_sure that_the len guo ge_and_fo mot_ore_right.I_know_you hae a_very pusy schedule, put_Id_be very grn te ful_if you_could_take_ s0me time_to 90_ though_them_and_ make necce55ary_chong es looking for word_to youre orly_reply.And I'd_e_re olly_t honk ful. You Ys- Li huo. 6121at1#x \",\"height\":2340,\"orgHeight\":2340,\"orgWidth\":1654,\"prism_version\":\"1.0.9\",\"prism_wnum\":32,\"prism_wordsInfo\":[{\"angle\":-89,\"direction\":0,\"height\":960,\"pos\":[{\"x\":475,\"y\":225},{\"x\":1434,\"y\":225},{\"x\":1434,\"y\":260},{\"x\":475,\"y\":260}],\"prob\":67,\"width\":34,\"word\":\"2:1.*5RI, 99034n&; 2.4079#17; 3.48MM; 4.AMF*E9P7EExg条.\",\"x\":937,\"y\":-237},{\"angle\":-90,\"direction\":0,\"height\":46,\"pos\":[{\"x\":161,\"y\":270},{\"x\":206,\"y\":270},{\"x\":206,\"y\":309},{\"x\":161,\"y\":309}],\"prob\":63,\"width\":40,\"word\":\"0\",\"x\":164,\"y\":266},{\"angle\":-90,\"direction\":0,\"height\":40,\"pos\":[{\"x\":237,\"y\":273},{\"x\":276,\"y\":273},{\"x\":276,\"y\":308},{\"x\":237,\"y\":308}],\"prob\":88,\"width\":35,\"word\":\"O\",\"x\":239,\"y\":270},{\"angle\":-88,\"direction\":0,\"height\":321,\"pos\":[{\"x\":425,\"y\":320},{\"x\":745,\"y\":325},{\"x\":744,\"y\":377},{\"x\":424,\"y\":372}],\"prob\":96,\"width\":53,\"word\":\"Denr_Ms Jenkins,\",\"x\":558,\"y\":186},{\"angle\":-89,\"direction\":0,\"height\":951,\"pos\":[{\"x\":507,\"y\":398},{\"x\":1457,\"y\":401},{\"x\":1457,\"y\":463},{\"x\":506,\"y\":460}],\"prob\":95,\"width\":60,\"word\":\"Im_Li Hun ya_student_of your_English_c loss.\",\"x\":952,\"y\":-45},{\"angle\":0,\"direction\":0,\"height\":60,\"pos\":[{\"x\":426,\"y\":481},{\"x\":1359,\"y\":475},{\"x\":1359,\"y\":537},{\"x\":427,\"y\":543}],\"prob\":92,\"width\":933,\"word\":\"Im_writing_tn_ask_for yow r help.The_\",\"x\":426,\"y\":478},{\"angle\":-90,\"direction\":0,\"height\":140,\"pos\":[{\"x\":1372,\"y\":490},{\"x\":1512,\"y\":490},{\"x\":1512,\"y\":530},{\"x\":1372,\"y\":530}],\"prob\":96,\"width\":39,\"word\":\"sumer\",\"x\":1423,\"y\":440},{\"angle\":-2,\"direction\":0,\"height\":43,\"pos\":[{\"x\":419,\"y\":570},{\"x\":570,\"y\":564},{\"x\":572,\"y\":607},{\"x\":420,\"y\":613}],\"prob\":91,\"width\":152,\"word\":\"Vacation_\",\"x\":419,\"y\":566},{\"angle\":-89,\"direction\":0,\"height\":867,\"pos\":[{\"x\":580,\"y\":553},{\"x\":1446,\"y\":559},{\"x\":1446,\"y\":615},{\"x\":579,\"y\":609}],\"prob\":88,\"width\":56,\"word\":\"_is_.coming.And_I_woud_like.to sply\",\"x\":984,\"y\":150},{\"angle\":0,\"direction\":0,\"height\":50,\"pos\":[{\"x\":431,\"y\":643},{\"x\":813,\"y\":640},{\"x\":813,\"y\":690},{\"x\":431,\"y\":693}],\"prob\":86,\"width\":382,\"word\":\"for a port-time_\",\"x\":431,\"y\":641},{\"angle\":-90,\"direction\":0,\"height\":266,\"pos\":[{\"x\":822,\"y\":639},{\"x\":1087,\"y\":639},{\"x\":1087,\"y\":690},{\"x\":822,\"y\":690}],\"prob\":89,\"width\":51,\"word\":\"_jo) _at a\",\"x\":929,\"y\":531},{\"angle\":-88,\"direction\":0,\"height\":152,\"pos\":[{\"x\":1135,\"y\":637},{\"x\":1287,\"y\":642},{\"x\":1285,\"y\":689},{\"x\":1134,\"y\":685}],\"prob\":98,\"width\":47,\"word\":\"for i en\",\"x\":1187,\"y\":587},{\"angle\":-90,\"direction\":0,\"height\":160,\"pos\":[{\"x\":1290,\"y\":645},{\"x\":1450,\"y\":645},{\"x\":1450,\"y\":694},{\"x\":1290,\"y\":694}],\"prob\":93,\"width\":49,\"word\":\"com zany.\",\"x\":1346,\"y\":590},{\"angle\":-90,\"direction\":0,\"height\":54,\"pos\":[{\"x\":421,\"y\":718},{\"x\":476,\"y\":718},{\"x\":476,\"y\":766},{\"x\":421,\"y\":766}],\"prob\":98,\"width\":49,\"word\":\"in_\",\"x\":424,\"y\":714},{\"angle\":-2,\"direction\":0,\"height\":52,\"pos\":[{\"x\":492,\"y\":725},{\"x\":695,\"y\":717},{\"x\":697,\"y\":769},{\"x\":494,\"y\":777}],\"prob\":94,\"width\":203,\"word\":\"my a ity.\",\"x\":493,\"y\":720},{\"angle\":-89,\"direction\":0,\"height\":883,\"pos\":[{\"x\":505,\"y\":787},{\"x\":1387,\"y\":797},{\"x\":1386,\"y\":855},{\"x\":504,\"y\":845}],\"prob\":92,\"width\":58,\"word\":\"I_hoe just_completed_my_ayp lic n tion_\",\"x\":916,\"y\":379},{\"angle\":-83,\"direction\":0,\"height\":127,\"pos\":[{\"x\":1390,\"y\":788},{\"x\":1516,\"y\":803},{\"x\":1511,\"y\":847},{\"x\":1384,\"y\":832}],\"prob\":98,\"width\":45,\"word\":\"ptter\",\"x\":1428,\"y\":754},{\"angle\":-90,\"direction\":0,\"height\":101,\"pos\":[{\"x\":424,\"y\":883},{\"x\":525,\"y\":883},{\"x\":525,\"y\":920},{\"x\":424,\"y\":920}],\"prob\":77,\"width\":38,\"word\":\"on d__\",\"x\":456,\"y\":850},{\"angle\":0,\"direction\":0,\"height\":54,\"pos\":[{\"x\":529,\"y\":869},{\"x\":1439,\"y\":864},{\"x\":1439,\"y\":918},{\"x\":529,\"y\":924}],\"prob\":95,\"width\":910,\"word\":\"yes ume.How eyer, I/m_not_sure that_the\",\"x\":529,\"y\":866},{\"angle\":0,\"direction\":0,\"height\":59,\"pos\":[{\"x\":424,\"y\":949},{\"x\":1436,\"y\":943},{\"x\":1437,\"y\":1002},{\"x\":424,\"y\":1008}],\"prob\":93,\"width\":1012,\"word\":\"len guo ge_and_fo mot_ore_right.I_know_you\",\"x\":424,\"y\":945},{\"angle\":0,\"direction\":0,\"height\":59,\"pos\":[{\"x\":426,\"y\":1022},{\"x\":1404,\"y\":1017},{\"x\":1405,\"y\":1076},{\"x\":427,\"y\":1082}],\"prob\":93,\"width\":978,\"word\":\"hae a_very pusy schedule, put_Id_be\",\"x\":426,\"y\":1019},{\"angle\":-1,\"direction\":0,\"height\":56,\"pos\":[{\"x\":421,\"y\":1113},{\"x\":1187,\"y\":1095},{\"x\":1188,\"y\":1152},{\"x\":423,\"y\":1169}],\"prob\":93,\"width\":765,\"word\":\"very grn te ful_if you_could_take_\",\"x\":422,\"y\":1103},{\"angle\":-90,\"direction\":0,\"height\":313,\"pos\":[{\"x\":1190,\"y\":1111},{\"x\":1503,\"y\":1111},{\"x\":1503,\"y\":1156},{\"x\":1190,\"y\":1156}],\"prob\":89,\"width\":44,\"word\":\"s0me time_to\",\"x\":1324,\"y\":977},{\"angle\":-88,\"direction\":0,\"height\":53,\"pos\":[{\"x\":428,\"y\":1190},{\"x\":480,\"y\":1190},{\"x\":480,\"y\":1241},{\"x\":428,\"y\":1241}],\"prob\":86,\"width\":50,\"word\":\"90_\",\"x\":429,\"y\":1189},{\"angle\":-90,\"direction\":0,\"height\":441,\"pos\":[{\"x\":504,\"y\":1182},{\"x\":945,\"y\":1182},{\"x\":945,\"y\":1236},{\"x\":504,\"y\":1236}],\"prob\":97,\"width\":53,\"word\":\"though_them_and_\",\"x\":699,\"y\":989},{\"angle\":-89,\"direction\":0,\"height\":569,\"pos\":[{\"x\":952,\"y\":1182},{\"x\":1522,\"y\":1190},{\"x\":1521,\"y\":1243},{\"x\":952,\"y\":1235}],\"prob\":90,\"width\":53,\"word\":\"make necce55ary_chong es\",\"x\":1210,\"y\":928},{\"angle\":0,\"direction\":0,\"height\":65,\"pos\":[{\"x\":511,\"y\":1258},{\"x\":945,\"y\":1258},{\"x\":945,\"y\":1322},{\"x\":511,\"y\":1322}],\"prob\":94,\"width\":435,\"word\":\"looking for word_to\",\"x\":511,\"y\":1258},{\"angle\":0,\"direction\":0,\"height\":59,\"pos\":[{\"x\":979,\"y\":1266},{\"x\":1489,\"y\":1259},{\"x\":1489,\"y\":1318},{\"x\":980,\"y\":1324}],\"prob\":94,\"width\":510,\"word\":\"youre orly_reply.And\",\"x\":979,\"y\":1262},{\"angle\":-89,\"direction\":0,\"height\":517,\"pos\":[{\"x\":424,\"y\":1335},{\"x\":941,\"y\":1335},{\"x\":941,\"y\":1396},{\"x\":424,\"y\":1396}],\"prob\":94,\"width\":59,\"word\":\"I'd_e_re olly_t honk ful.\",\"x\":652,\"y\":1106},{\"angle\":-83,\"direction\":0,\"height\":156,\"pos\":[{\"x\":1333,\"y\":1407},{\"x\":1489,\"y\":1426},{\"x\":1483,\"y\":1477},{\"x\":1327,\"y\":1459}],\"prob\":85,\"width\":52,\"word\":\"You Ys-\",\"x\":1381,\"y\":1364},{\"angle\":-88,\"direction\":0,\"height\":177,\"pos\":[{\"x\":1319,\"y\":1487},{\"x\":1495,\"y\":1493},{\"x\":1493,\"y\":1545},{\"x\":1317,\"y\":1539}],\"prob\":77,\"width\":51,\"word\":\"Li huo.\",\"x\":1379,\"y\":1427},{\"angle\":-90,\"direction\":0,\"height\":306,\"pos\":[{\"x\":1244,\"y\":2240},{\"x\":1551,\"y\":2240},{\"x\":1551,\"y\":2284},{\"x\":1244,\"y\":2284}],\"prob\":70,\"width\":44,\"word\":\"6121at1#x\",\"x\":1375,\"y\":2109}],\"width\":1654}"
}
返回示例补充说明
返回数据说明</br>
angle 图片的角度,0表示正向,90表示图片朝右,180朝下,270朝左</br>
content 识别出图片的文字块汇总</br>
height 算法矫正图片后的高度</br>
width 算法矫正图片后的宽度</br>
orgHeight 原图的高度</br>
orgWidth 原图的宽度</br>
prism_wnum 识别的文字块的数量,prism_wordsInfo数组的大小</br>
-------------------------prism-wordsInfo文字块数组内的字段说明-------------------------</br>
angle 文字块的角度,这个角度只影响width和height,当角度为-90、90、-270、270,width和height的值需要自行互换</br>
height 文字块的高度</br>
width 文字块的宽度</br>
pos 文字块的外矩形四个点的坐标按顺时针排列,左上、右上、右下、左下,当NeedRotate为true时,如果最外层的angle不为0,需要按照angle矫正图片后,坐标才准确</br>
word 文字块的文字</br>
tableId 当OutputTable为true并且该文字块在表格内则存在该字段,tableId表示表格的id</br>
tableCellId 当OutputTable为true并且该文字块在表格内则存在该字段,表示表格中单元格的id</br>
----------------------------------------charInfo单字信息-----------------------------------------</br>
word 单字文字</br>
x 单字左上角横坐标</br>
y 单字左上角纵坐标</br>
w 单字宽度
<span>h 单字高度</span></br>
--------------------------------------------------------------------------------------------------------</br>
--------------------------------------------------------------------------------------------------------</br>
---------------------------prism-tablesInfo表格数组内的字段说明--------------------------</br>
tableId 表格id,和prism_wordsInfo信息中的tableId对应</br>
xCellSize 表格中横坐标单元格的数量</br>
yCellSize 表格中纵坐标单元格的数量</br>
------------cellInfos单元格信息,包含单元格在整个表格中的空间拓扑关系---------</br>
tableCellId 表格中单元格id,和prism_wordsInfo信息中的tableCellId对应</br>
word 单元格中的文字</br>
xsc xStartCell缩写,表示横轴方向该单元格起始在第几个单元格,第一个单元格值为0</br>
xec xEndCell缩写,表示横轴方向该单元格结束在第几个单元格,第一个单元格值为0,如果xsc和xec都为0说明该文字在横轴方向占据了一个单元格并且在第一个单元格内</br>
ysc yStartCell缩写,表示纵轴方向该单元格起始在第几个单元格,第一个单元格值为0</br>
yec yEndCell缩写,表示纵轴方向该单元格结束在第几个单元格,第一个单元格值为0</br>
pos 单元格位置,按照单元格四个角的坐标顺时针排列,分别为左上XY坐标、右上XY坐标、右下XY坐标、左下XY坐标</br>
--------------------------------------------------------------------------------------------------------</br>
--------------------------------------------------------------------------------------------------------</br>
错误码
访问错误中心查看更多错误码。