文档
测试
GET
https://wxjd.xiaopaer.com/Wap/app/idcardOcr?url=https%3A%2F%2Fdjsh.meiliancheng.cn%2Fuploads%2F20200917180814ff1397466.jpeg

请求参数

参数名
类型
描述
必填
url
string
示例:https://djsh.meiliancheng.cn/uploads/20200917180814ff1397466.jpeg
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errmsg
string
示例:成功
必填
data
object
数据字典
必填
words_result
object
数据字典
必填
姓名
object
数据字典
必填
words
string
示例:张军
必填
location
object
数据字典
必填
top
int
示例:286
必填
left
int
示例:367
必填
width
int
示例:130
必填
height
int
示例:57
必填
民族
object
数据字典
必填
words
string
示例:汉
必填
location
object
数据字典
必填
top
int
示例:406
必填
left
int
示例:608
必填
width
int
示例:33
必填
height
int
示例:39
必填
住址
object
数据字典
必填
words
string
示例:四川省资阳市乐至县天池镇新乐黄花园村1组
必填
location
object
数据字典
必填
top
int
示例:590
必填
left
int
示例:345
必填
width
int
示例:500
必填
height
int
示例:125
必填
公民身份号码
object
数据字典
必填
words
string
示例:513922199309170413
必填
location
object
数据字典
必填
top
int
示例:850
必填
left
int
示例:544
必填
width
int
示例:649
必填
height
int
示例:59
必填
出生
object
数据字典
必填
words
string
示例:19930917
必填
location
object
数据字典
必填
top
int
示例:492
必填
left
int
示例:355
必填
width
int
示例:393
必填
height
int
示例:52
必填
性别
object
数据字典
必填
words
string
示例:男
必填
location
object
数据字典
必填
top
int
示例:396
必填
left
int
示例:362
必填
width
int
示例:32
必填
height
int
示例:40
必填
log_id
int
示例:1310140655892168700
必填
words_result_num
int
示例:6
必填
idcard_number_type
int
示例:1
必填
image_status
string
示例:normal
必填