公式识别 API
开发环境
开发环境
POST
http[s]: //rest-api.xfyun.cn/v2/itr
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://dev-cn.your-api-server.comhttp[s]: //rest-api.xfyun.cn/v2/itr' \
--header 'Content-Type: application/json' \
--data-raw '{
"common":{
"app_id":"xxxxxxxx"
},
"business":{
"ent":"teach-photo-print",
"aue" :"raw"
},
"data":{
"image":"/9j/4AAQSkZJRgABAQAAAQABAAD/2..."
}
}'
响应示例响应示例
{
"code": 0,
"data": {
"_engine_info": {
"category": "string",
"name": "string",
"version": "string"
},
"protocol": "string",
"region": [
{
"coord": {
"x": [
"string"
],
"y": [
"string"
]
},
"recog": {
"content": "string",
"element": [
{
"conf": 0,
"content": "string"
}
],
"exception": 0
},
"type": "string"
}
]
},
"message": "string",
"sid": "string"
}
请求参数
Body 参数application/json
返回响应
修改于 2023-12-21 02:13:50