行驶证OCR识别
  • 可对行驶证上的全部字段进行识别
  • 支持任意方向的图像自动识别

  API 文档     立即购买

在线体验

本地上传

产品概述

   * 可对行驶证上全部字段数据进行识别
   * 识别率达98%以上

API

接口说明

接口地址: www.etoplive.com/ocr/server.srvc
接口调用方法:Post
接口调用参数:
序号名称类型必填说明
1fileString上传的文件(图片的base64流)
2keyString用户ocrKey
3secretString 用户ocrSecret
4pidInteger识别类型(行驶证OCR识别 固定值:5)
返回数据:
返回数据类型: JSON
返回数据示例: {"ErrorCode":0,"Time":"1484","ResultList":[{"pid":5,"type":"行驶证正页","position":{"left":57,"top":660,"width":989,"height":669},"direct":0,"angle":0,"image_data":"/9j/4AAQS/9k=","FieldList":[{"key":"PlateNo","chn_key":"号牌号码","value":"豫RQQ981","image_data":"/9j/4A","position":{"left":200,"top":113,"width":155,"height":45},"quad":[200,113,355,113,355,158,200,158]},{"key":"VType","chn_key":"车辆类型","value":"小型轿车","image_data":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgH","position":{"left":579,"top":113,"width":162,"height":49},"quad":[579,113,741,115,741,162,579,160]},{"key":"Owner","chn_key":"所有人","value":"石立聚","image_data":"/9j/4AAQGaJTgwKcUAf/Z","position":{"left":193,"top":185,"width":123,"height":46},"quad":[193,185,318,185,316,231,193,231]},{"key":"Address","chn_key":"地址","value":"河南省南阳市卧龙区靳岗乡董岗村十八里岗","image_data":"/9j/4AvS0aUFcAsSTn1ooooA//Z","position":{"left":183,"top":256,"width":759,"height":54},"quad":[185,256,942,264,942,310,183,305]},{"key":"UseCharacter","chn_key":"使用性质","value":"非营运","image_data":"/9j/4AAQSkZ","position":{"left":183,"top":336,"width":126,"height":48},"quad":[185,336,310,338,309,384,183,382]},{"key":"Model","chn_key":"厂牌型号","value":"比亚迪牌QCJ7200E3","image_data":"/9j/4","position":{"left":502,"top":338,"width":355,"height":52},"quad":[502,338,857,341,857,390,502,386]},{"key":"VIN","chn_key":"车辆识别代码","value":"LGXC16DG0A1077938","image_data":"/9jPqOaWO3VFCRhUUc8CiigCwwAxnniiiigD//2Q==","position":{"left":477,"top":413,"width":357,"height":54},"quad":[479,413,836,417,834,467,477,463]},{"key":"EngineNo","chn_key":"发动机号","value":"210004621","image_data":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoIC","position":{"left":448,"top":496,"width":193,"height":50},"quad":[448,496,643,498,641,546,448,544]},{"key":"RegisterDate","chn_key":"注册日期","value":"2010-11-01","image_data":"/9j/4AAQS","position":{"left":394,"top":577,"width":208,"height":52},"quad":[394,577,602,579,602,629,394,627]},{"key":"IssueDate","chn_key":"发证日期","value":"2010-11-01","image_data":"/9j/4AAQSkZJRg","position":{"left":734,"top":579,"width":208,"height":52},"quad":[734,579,942,581,942,631,734,629]}]},{"pid":50,"type":"行驶证副页","position":{"left":65,"top":59,"width":902,"height":590},"direct":2,"angle":0,"image_data":"/9j/4AAQSkZJRgABAQA","FieldList":[{"key":"DPPlateNo","chn_key":"号牌号码","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"FileNo","chn_key":"档案编号","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"PeopleNo","chn_key":"核定载人数","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"TotalMass","chn_key":"总质量","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"UnladenMass","chn_key":"整备质量","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"LadenMass","chn_key":"核定载质量","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"OutlineSize","chn_key":"外廓尺寸","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"TractionMass","chn_key":"准牵引总质量","value":"","image_data":"","position":{"left":0,"top":0,"width":0,"height":0},"quad":[0,0,0,0,0,0,0,0]},{"key":"DPNo","chn_key":"副页条码编号","value":"186008","image_data":"/9j/4AAQ","position":{"left":595,"top":493,"width":144,"height":51},"quad":[595,505,739,493,743,530,598,544]}]}]}
通用字段说明:
ErrorCode OCR识别状态码
Time 识别时间
ResultList 返回结果数组
type 证件类型
image_data 裁切后的图片base64编码
direct 图片方向
key 英文字段名称
chn_key 中文字段名称
value 对应字段识别结果
position 当前裁切图片或字段在图片上的位置信息
证件特有返回字段说明:
PlateNo号牌号码
VType车辆类型
Owner所有人
Address住址
UseCharacter使用性质
Model品牌型号
VIN车辆识别代号
EngineNo发动机号码
RegisterDate注册日期
IssueDate发证日期
DPPlateNo号牌号码
FileNo档案编号
PeopleNo核定载人数
TotalMass总质量
UnladenMass整备质量
LadenMass核定载质量
OutlineSize外廓尺寸
TractionMass准牵引总质量副页
DPNo条码编号
ErrorCode返回码说明:
0成功
16不支持的图像文件(读取图像文件失败)
19识别失败
-1用户已屏蔽。
-2用户key或secret验证错误。
-3服务次数不足。
-4用户未找到。
-5未支持的识别类型。
-6file参数未提供。
-7未提供key或secret参数
-8服务器IO错误.
-49请求超时
-51图片错误,请换张图片再重试.
-52服务器繁忙
其他 请咨询服务商

购买记录

购买用户 订单套餐 金额 购买时间