1、车俩登记证识别 - 接口说明

接口地址
图片为base64流 https://netocr.com/api/recog_cardjz.do
图片为file格式 https://netocr.com/api/recog_cardjz_stream.do
接口调用方法 post

(注:调用图片为base64流接口时传参数img,调用图片为file格式接口传参数file)

2、请求参数

序号 名称 类型 必填 说明
1 img String 上传的文件(图片的base64流)
2 file MultipartFile 上传的文件(上传文件的字段名必须是“file”)
3 key String 用户ocrKey
4 secret String 用户ocrSecrert
5 typeId Integer 识别类型:43
6 format String 返回格式(xml或者json),如果format为空,则默认返回xml

3、结果示例

{
    "message": {
        "status": 2,
        "value": "识别完成"
    },
    "cardsinfo": [
        {
            "type": "43",
            "items": [
                {"nID": null, "index": null, "desc": "登记编号", "content": ""},
                {"nID": null, "index": null, "desc": "机动车所有人/身份证名称/号码", "content": ""},
                {"nID": null, "index": null, "desc": "登记机关", "content": ""},
                {"nID": null, "index": null, "desc": "登记日期", "content": ""},
                {"nID": null, "index": null, "desc": "机动车登记编号", "content": ""},
                {"nID": null, "index": null, "desc": "车辆类型", "content": ""},
                {"nID": null, "index": null, "desc": "车辆品牌", "content": ""},
                {"nID": null, "index": null, "desc": "车辆型号", "content": ""},
                {"nID": null, "index": null, "desc": "车身颜色", "content": ""},
                {"nID": null, "index": null, "desc": "车辆识别代号/车架号", "content": ""},
                {"nID": null, "index": null, "desc": "国产/进口", "content": ""},
                {"nID": null, "index": null, "desc": "发动机号", "content": ""},
                {"nID": null, "index": null, "desc": "发动机型号", "content": ""},
                {"nID": null, "index": null, "desc": "燃料种类", "content": ""},
                {"nID": null, "index": null, "desc": "排量/功率", "content": ""},
                {"nID": null, "index": null, "desc": "制造厂名称", "content": ""},
                {"nID": null, "index": null, "desc": "转向形式", "content": ""},
                {"nID": null, "index": null, "desc": "轮距", "content": ""},
                {"nID": null, "index": null, "desc": "轮胎数", "content": ""},
                {"nID": null, "index": null, "desc": "轮胎规格", "content": ""},
                {"nID": null, "index": null, "desc": "钢板弹簧片数", "content": ""},
                {"nID": null, "index": null, "desc": "轴距", "content": ""},
                {"nID": null, "index": null, "desc": "轴数", "content": ""},
                {"nID": null, "index": null, "desc": "外廓尺寸", "content": ""},
                {"nID": null, "index": null, "desc": "货厢内部尺寸", "content": ""},
                {"nID": null, "index": null, "desc": "总质量", "content": ""},
                {"nID": null, "index": null, "desc": "核定载质量", "content": ""},
                {"nID": null, "index": null, "desc": "核定载客", "content": ""},
                {"nID": null, "index": null, "desc": "准牵引总质量", "content": ""},
                {"nID": null, "index": null, "desc": "驾驶室载客", "content": ""},
                {"nID": null, "index": null, "desc": "使用性质", "content": ""},
                {"nID": null, "index": null, "desc": "车辆获得方式", "content": ""},
                {"nID": null, "index": null, "desc": "车辆出厂日期", "content": ""},
                {"nID": null, "index": null, "desc": "发证机关章", "content": ""},
                {"nID": null, "index": null, "desc": "发证日期", "content": ""}
            ]
        }
    ]
}

results matching ""

    No results matching ""