OCR识别
POST
/ecs/face/allOcrVerify.jspa
接口描述
Ocr识别(身份证、驾驶证、行驶证、银行卡)
请求参数
参数名
类型
描述
必填
enginetype
int
idc:身份证, xsz-new:行驶证,jsz-new:驾驶证,银行卡:bank-new
必填
databaseImageContent
int
证件图片base64
必填
timestamp
string
示例:2011-11-28 17:12:50,与服务端时间误差允许为10分钟
必填
appKey
string
示例:平台分配给应用的AppKey、Secret
必填
v
string
示例:1.0
必填
nonce
string
示例:6位数字随机数
必填
signature
string
示例:API入参签名结果
必填
config
{"CropIdCard":true,"CropPortrait":true} 裁剪配置,可为空 。 CropIdCard身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)。CropPortrait 代表人像照片裁剪(自动抠取身份证头像区域)
必填
响应参数
参数名
类型
描述
必填
status
String
响应状态码( 200:成功 其他:失败)
必填
msg
String
状态描述
必填
data
String
返回识别后的栏目信息(不同证件返回data不同),参考下方返回示例
必填
fee
String
是否扣费标记
必填
order
String
本条识别记录订单号
必填