1、新车合格证识别 - 接口说明

接口地址
图片为base64流 https://netocr.com/api/recog_carhgz.do
图片为file格式 https://netocr.com/api/recog_carhgz_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 识别类型:42
6 format String 返回格式(xml或者json),如果format为空,则默认返回xml

3、结果示例

{
    "message": {
        "status": 2,
        "value": "识别完成"
    },
    "cardsinfo": [
        {
            "type": "42",
            "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": "底盘型号/底盘ID", "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": "排量和功率(ml/kw)", "content": ""},
                {"nID": null, "index": null, "desc": "排放标准", "content": ""},
                {"nID": null, "index": null, "desc": "油耗", "content": ""},
                {"nID": null, "index": null, "desc": "外廓尺寸(mm)", "content": ""},
                {"nID": null, "index": null, "desc": "货厢内部尺寸(mm)", "content": ""},
                {"nID": null, "index": null, "desc": "钢板弹簧片数(片)", "content": ""},
                {"nID": null, "index": null, "desc": "轮胎数", "content": ""},
                {"nID": null, "index": null, "desc": "轮胎规格", "content": ""},
                {"nID": null, "index": null, "desc": "轮距(前/后)(mm)", "content": ""},
                {"nID": null, "index": null, "desc": "轴距(mm)", "content": ""},
                {"nID": null, "index": null, "desc": "轴荷(kg)", "content": ""},
                {"nID": null, "index": null, "desc": "轴数", "content": ""},
                {"nID": null, "index": null, "desc": "转向形式", "content": ""},
                {"nID": null, "index": null, "desc": "总质量(kg)", "content": ""},
                {"nID": null, "index": null, "desc": "整备质量(kg)", "content": ""},
                {"nID": null, "index": null, "desc": "额定载质量(kg)", "content": ""},
                {"nID": null, "index": null, "desc": "载质量利用系数", "content": ""},
                {"nID": null, "index": null, "desc": "准迁引总质量(kg)", "content": ""},
                {"nID": null, "index": null, "desc": "半挂车鞍座最大允许总质量(kg)", "content": ""},
                {"nID": null, "index": null, "desc": "驾驶室准乘人数(人)", "content": ""},
                {"nID": null, "index": null, "desc": "额定载客(人)", "content": ""},
                {"nID": null, "index": null, "desc": "最高设计车速(km/h)", "content": ""},
                {"nID": null, "index": null, "desc": "车辆制造日期", "content": ""}
            ]
        }
    ]
}

results matching ""

    No results matching ""