文档

RecognizeRideHailingItinerary - 网约车行程单识别

更新时间:

网约车行程单识别。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
Urlstring

图片链接(长度不超 2048,不支持 base64)

https://img.alicdn.com/imgextra/i1/O1CN01ePLJiZ1n8CTylKsn3_!!6000000005044-2-tps-194-260.png
bodybyte

图片二进制字节流,最大 10MB

图片二进制

支持的图片格式

  • PNG、JPG、JPEG、BMP、GIF、TIFF、WebP

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求唯一 ID

43A29C77-405E-4CC0-BC55-EE694AD00655
Datastring

返回数据

{"data":{"serviceProvider":"滴滴出行","applicationDate":"","startTime":"","endTime":"","phoneNumber":"","totalAmount":"","rideDetails":[{"Number":"","carType":"","pickUpTime":"","city":"","startPlace":"","endPlace":"","mileage":"","amount":"","remarks":""}]},"ftype":0,"height":260,"orgHeight":260,"orgWidth":194,"prism_keyValueInfo":[{"key":"serviceProvider","keyProb":99,"value":"滴滴出行","valuePos":[{"x":120,"y":11},{"x":120,"y":21},{"x":57,"y":20},{"x":57,"y":10}],"valueProb":99},{"key":"applicationDate","keyProb":100,"value":"","valueProb":100},{"key":"startTime","keyProb":91,"value":"","valuePos":[{"x":94,"y":46},{"x":94,"y":50},{"x":75,"y":50},{"x":75,"y":46}],"valueProb":91},{"key":"endTime","keyProb":65,"value":"","valuePos":[{"x":112,"y":46},{"x":112,"y":50},{"x":95,"y":50},{"x":95,"y":46}],"valueProb":65},{"key":"phoneNumber","keyProb":100,"value":"","valueProb":100},{"key":"totalAmount","keyProb":100,"value":"","valueProb":100},{"key":"rideDetails","keyProb":100,"value":"[{\"Number\":\"\",\"carType\":\"\",\"pickUpTime\":\"\",\"city\":\"\",\"startPlace\":\"\",\"endPlace\":\"\",\"mileage\":\"\",\"amount\":\"\",\"remarks\":\"\"}]","valueProb":100}],"sliceRect":{"x0":6,"y0":72,"x1":186,"y1":72,"x2":186,"y2":156,"x3":6,"y3":156},"width":194}
Codestring

错误码

noPermission
Messagestring

错误提示

You are not authorized to perform this operation.

返回数据说明

serviceProvider 服务商
applicationDate 申请日期
startTime 行程开始时间
endTime 行程结束时间
phoneNumber 行程人手机号
totalAmount 总金额
rideDetails 行程详单
Number 序号
carType 车型
pickUpTime 上车时间
city 城市
startPlace  起点
endPlace 终点
mileage 里程
amount 金额
remarks 备注
angle              角度:0-360,0 表示向上,90 表示向右,180 表示向下,270 度表示向左
height            算法矫正图片后的高度
width             算法矫正图片后的宽度
orgHeight      原图的高度
orgWidth       原图的宽度
----------------------------------------prism_keyValueInfo 文字块数组内的字段说明---------------------------------------
valuePos 外矩形四个点的坐标按顺时针排列,左上、右上、右下、左下

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{\"data\":{\"serviceProvider\":\"滴滴出行\",\"applicationDate\":\"\",\"startTime\":\"\",\"endTime\":\"\",\"phoneNumber\":\"\",\"totalAmount\":\"\",\"rideDetails\":[{\"Number\":\"\",\"carType\":\"\",\"pickUpTime\":\"\",\"city\":\"\",\"startPlace\":\"\",\"endPlace\":\"\",\"mileage\":\"\",\"amount\":\"\",\"remarks\":\"\"}]},\"ftype\":0,\"height\":260,\"orgHeight\":260,\"orgWidth\":194,\"prism_keyValueInfo\":[{\"key\":\"serviceProvider\",\"keyProb\":99,\"value\":\"滴滴出行\",\"valuePos\":[{\"x\":120,\"y\":11},{\"x\":120,\"y\":21},{\"x\":57,\"y\":20},{\"x\":57,\"y\":10}],\"valueProb\":99},{\"key\":\"applicationDate\",\"keyProb\":100,\"value\":\"\",\"valueProb\":100},{\"key\":\"startTime\",\"keyProb\":91,\"value\":\"\",\"valuePos\":[{\"x\":94,\"y\":46},{\"x\":94,\"y\":50},{\"x\":75,\"y\":50},{\"x\":75,\"y\":46}],\"valueProb\":91},{\"key\":\"endTime\",\"keyProb\":65,\"value\":\"\",\"valuePos\":[{\"x\":112,\"y\":46},{\"x\":112,\"y\":50},{\"x\":95,\"y\":50},{\"x\":95,\"y\":46}],\"valueProb\":65},{\"key\":\"phoneNumber\",\"keyProb\":100,\"value\":\"\",\"valueProb\":100},{\"key\":\"totalAmount\",\"keyProb\":100,\"value\":\"\",\"valueProb\":100},{\"key\":\"rideDetails\",\"keyProb\":100,\"value\":\"[{\\\"Number\\\":\\\"\\\",\\\"carType\\\":\\\"\\\",\\\"pickUpTime\\\":\\\"\\\",\\\"city\\\":\\\"\\\",\\\"startPlace\\\":\\\"\\\",\\\"endPlace\\\":\\\"\\\",\\\"mileage\\\":\\\"\\\",\\\"amount\\\":\\\"\\\",\\\"remarks\\\":\\\"\\\"}]\",\"valueProb\":100}],\"sliceRect\":{\"x0\":6,\"y0\":72,\"x1\":186,\"y1\":72,\"x2\":186,\"y2\":156,\"x3\":6,\"y3\":156},\"width\":194}",
  "Code": "noPermission",
  "Message": "You are not authorized to perform this operation."
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史