身份证识别

taskId

58a6765472afab41d9511da3

taskId参数
参数名称 类型 是否必需 说明
fileList Array 每张图片的识别结果
fileList参数
参数名称 类型 是否必需 说明
name String 如果上传的image参数是url,则该值是图片url;如果是以图片文件上传,则该值为文件名
objects Array 检测出来的所有物体
objects参数
参数名称 类型 是否必需 说明
location Array 物体方框坐标[左上角坐标,右上角坐标,右下角坐标,左下角坐标], 坐标值是相对于图片大小的百分比形式
category Number 身份证信息类别
scores Number 身份证信息类别分数,准确度[0~1],值越高机器对判定结果越有把握
degree Number 身份证角度

字段信息对照表

category:

说明
0 姓名
1 性别
2 民族
3 出生日期
4 住址
5 公民身份号码
6 签发机关
7 有效期限
8 身份证图片鉴定

category 8: 特殊字段,鉴定整个身份证图片情况,对应text字段存放身份证鉴定描述,包含这几个情况: 篡改、正常、复印件、临时、翻拍、未知情况

返回的json示例
{
  "58a6765472afab41d9511da3": {
    "fileList": [
      {
        "name": "69.jpg",
        "objects": [
          {
            "location": [
              [
                0.1666584814434119,
                0.49657039130146347
              ],
              [
                0.5879490625019006,
                0.49657039130146347
              ],
              [
                0.5879490625019006,
                0.5524071807059837
              ],
              [
                0.1666584814434119,
                0.5524071807059837
              ]
            ],
            "category": 4,
            "scores": 1,
            "text": "福建省南安市官桥镇黄山村340号",
            "degree": 359.73989787958794
          },
          {
            "location": [
              [
                0.17333333333333334,
                0.36625
              ],
              [
                0.3622222222222222,
                0.36625
              ],
              [
                0.3622222222222222,
                0.4
              ],
              [
                0.17333333333333334,
                0.4
              ]
            ],
            "category": 0,
            "scores": 1,
            "text": "郭佳",
            "degree": 359
          },
          {
            "location": [
              [
                0.29777777777777775,
                0.60375
              ],
              [
                0.8933333333333333,
                0.60375
              ],
              [
                0.8933333333333333,
                0.6325
              ],
              [
                0.29777777777777775,
                0.6325
              ]
            ],
            "category": 5,
            "scores": 1,
            "text": "3203583200001291234",
            "degree": 360
          },
          {
            "location": [
              [
                0.1711111111111111,
                0.4125
              ],
              [
                0.2511111111111111,
                0.4125
              ],
              [
                0.2511111111111111,
                0.44125
              ],
              [
                0.1711111111111111,
                0.44125
              ]
            ],
            "category": 1,
            "scores": 1,
            "text": "男",
            "degree": 359
          },
          {
            "location": [
              [
                0.3688888888888889,
                0.4125
              ],
              [
                0.45555555555555555,
                0.4125
              ],
              [
                0.45555555555555555,
                0.44125
              ],
              [
                0.3688888888888889,
                0.44125
              ]
            ],
            "category": 2,
            "scores": 1,
            "text": "汉",
            "degree": 359
          },
          {
            "location": [
              [
                0.17157480259879954,
                0.45590068773964343
              ],
              [
                0.46529265356968585,
                0.45590068773964343
              ],
              [
                0.46529265356968585,
                0.4800918657957196
              ],
              [
                0.17157480259879954,
                0.4800918657957196
              ]
            ],
            "category": 3,
            "scores": 1,
            "text": "2000-1-29",
            "degree": 359.35617157790796
          }, 
          {
            "location": [
              [
                0,
                0
              ],
              [
                1,
                0
              ],
              [
                0,
                1
              ],
              [
                1,
                1
              ]
            ],
            "category": 8,
            "scores": 1,
            "text": "正常",
            "degree": 359.35617157790796
          },
        ]
      }
    ]
  },
  "code": 0,
  "message": "success",
  "nonce": "0.740538157274206",
  "timestamp": 1574246346767
}

results matching ""

    No results matching ""