订阅识别结果

接口描述

当相机产生识别结果后,推送此消息。

Topic

device/{sn}/message/up/ivs_result

消息示例

{
    "id": "iUA4fO7yCGrHZO2C",
    "bv": 12378,
    "sn": "265e1040-85e01fb7",
    "model": "R5",
    "name": "ivs_result",
    "version": "1.0",
    "timestamp": 1621926595,
    "payload": {
        "AlarmInfoPlate": {
            "channel": 0,
            "deviceName": "0001",
            "ipaddr": "192.168.6.94",
            "result": {
                "PlateResult": {
                    "bright": 0,
                    "carBright": 0,
                    "carColor": 0,
                    "car_brand": {
                        "brand": 42,
                        "type": 255,
                        "year": 65535
                    },
                    "car_location": {
                        "RECT": {
                            "bottom": 630,
                            "left": 850,
                            "right": 1213,
                            "top": 427
                        }
                    },
                    "plates": [
                        {
                            "binimg_path": "",
                            "binImgSize": 0,
                            "binimg_content": "",
                            "clipImgSize": 0,
                            "image_path": "xxx",
                            "image_absolute_path": "xxx",
                            "image_relative_path": "xxx",
                            "color": 4,
                            "content": "",
                            "license": "",
                            "plate_width": 304,
                            "is_danger": 0,
                            "pos": {
                                "bottom": 422,
                                "left": 432,
                                "right": 634,
                                "top": 322
                            },
                            "type": 14
                        }
                    ],
                    "clean_time": 0,
                    "colorType": 1,
                    "colorValue": 0,
                    "confidence": 100,
                    "direction": 0,
                    "feature_code": true,
                    "gioouts": [

                    ],
                    "bucket": "xxx",
                    "oss_type": "",
                    "imageFragmentPath": "xxx",
                    "imageFragmentAbsolutePath": "xxx",
                    "imageFragmentRelativePath": "xxx",
                    "small_image_content": "",
                    "imagePath": "xxxxxxxxxxxxx",
                    "imageAbsolutePath": "xxxxxxxxxxxxx",
                    "imageRelativePath": "xxxxxxxxxxxxx",
                    "full_image_content": "",
                    "is_encrypted": 0,
                    "is_fake_plate": 0,
                    "isoffline": 0,
                    "license": "6LWjR1o3UzEz",
                    "license_ext_type": 0,
                    "location": {
                        "RECT": {
                            "bottom": 555,
                            "left": 954,
                            "right": 1109,
                            "top": 502
                        }
                    },
                    "plate_distance": 0,
                    "plate_true_width": 0,
                    "plateid": 594785,
                    "timeStamp": {
                        "Timeval": {
                            "decday": 11,
                            "dechour": 16,
                            "decmin": 30,
                            "decmon": 8,
                            "decsec": 19,
                            "decyear": 2021,
                            "sec": 1628670619,
                            "usec": 539956
                        }
                    },
                    "timeUsed": 3879571,
                    "triggerType": 4,
                    "type": 1
                }
            },
            "serialno": "8fcd1c4e-20ca9ecb",
            "user_data": "5Lit5Zu9"
        }
    }
}

字段含义

层级 参数 类型 说明 备注
1 AlarmInfoPlate object 识别结果信息
1.1 channel int 通道
1.2 deviceName string 设备名称,Base64编码
1.3 ipaddr string 设备IP地址
1.4 serialno string 设备序列号
1.5 user_data string 用户自定义信息,Base64编码
1.6 rule_id int 算法检测框的ID[0-4],需要在网页上配置
1.7 result object 识别结果
1.7.1 PlateResult object 车牌识别结果信息
1.7.1.1 bright int 亮度评价
1.7.1.2 plates array 三地车牌列表,每组对应一个车牌
1.7.1.2.1 color int 车牌颜色序号
1.7.1.2.2 clipImgSize int 车牌小图大小
1.7.1.2.3 image_path string 特写图,Base64编码后的云存路径 废弃字段,新对接用户不建议使用;使用臻云时,此字段是相对路径,使用自定义MQTT时,表示的是绝对路径
1.7.1.2.4 image_absolute_path string 特写图,Base64编码后的云存绝对路径 使用VZOSS时,此字段无效
1.7.1.2.5 image_relative_path string 特写图,Base64编码后的云存相对路径
1.7.1.2.6 content string Web设置传图方式为Mqtt,并且使能特写图上传,此字段表示的特写图的Base64编码。
1.7.1.2.7 license string 车牌(UTF8),Base64编码
1.7.1.2.8 plate_width int 车牌宽度
1.7.1.2.9 pos object 车牌坐标
1.7.1.2.10 type int 车牌类型
1.7.1.2.11 binimg_path string 二值化后的特写图,Base64编码后的云存路径 该字段仅高速产品E5存在
1.7.1.2.12 binimg_absolute_path string 二值化后的特写图,Base64编码后的云存绝对路径 该字段仅高速产品E5存在
1.7.1.2.13 binimg_relative_path string 二值化后的特写图,Base64编码后的云存相对路径 该字段仅高速产品E5存在
1.7.1.2.14 binimg_content string Web设置传图方式为Mqtt,并且使能特写图上传,此字段表示的二值化特写图的Base64编码(分辨率120*20,图像格式为BMP/1bit,不含BMP文件头)。 该字段仅高速产品E5存在
1.7.1.2.15 binImgSize int 二值化后的车牌小图大小 该字段仅高速产品E5存在
1.7.1.2.16 is_danger int 是否是危险车牌,0:否,1:是,-1:功能未开启(该功能仅高速版有效) 该字段仅高速产品E5存在
1.7.1.3 license string 车牌(GBK),Base64编码
1.7.1.4 license_ext_type int 新型小型车牌扩展字段(0未知;1非运营;2运营;3政府车牌,R4、RM暂不支持)
1.7.1.5 carBright int 车的亮度
1.7.1.6 carColor int 车的颜色(0白;1银;2黄;3粉;4红;5绿;6蓝;7棕;8黑;9灰;255未知)
1.7.1.7 car_brand object 车辆品牌
1.7.1.7.1 brand int 车辆品牌(此定义根据版本不同,需要时请询公司获取)
1.7.1.7.2 type int 车型(此定义根据版本不同,需要时请询公司获取)
1.7.1.7.3 year int 年份(此定义根据版本不同,需要时请询公司获取)
1.7.1.8 car_location object 车辆位置
1.7.1.8.1 RECT object 车辆位置
1.7.1.8.1.1 bottom int 下
1.7.1.8.1.1 left int 左
1.7.1.8.1.2 right int 右
1.7.1.8.1.3 top int 上
1.7.1.9 clean_time Int 默认0,仅通过Http服务器配置了车辆清洗检测参数,此字段才会有值。
1.7.1.10 colorType int 车牌颜色序号
1.7.1.11 colorValue int 车牌颜色
1.7.1.12 confidence int 车牌可信度(0~100)
1.7.1.13 direction int 运动方向(0未知;1左;2右;3上;4下)
1.7.1.14 gioouts array IO输出事件(暂不支持)
1.7.1.15 feature_code int 车辆特征码(不支持)
1.7.1.16 bucket string oss桶名称 使用VZOSS时,此字段无效
1.7.1.17 oss_type string oss类型,VZOSS:vzoss,七牛云:qiniu,阿里云:alioss
1.7.1.17 imageFragmentPath string 特写图,Base64编码后的云存路径 废弃字段,新对接用户不建议使用;使用臻云时,此字段是相对路径,使用自定义MQTT时,表示的是绝对路径
1.7.1.18 imageFragmentAbsolutePath string 特写图,Base64编码后的云存绝对路径 使用VZOSS时,此字段无效
1.7.1.19 imageFragmentRelativePath string 特写图,Base64编码后的云存相对路径
1.7.1.20 small_image_content string Web设置传图方式为Mqtt,并且使能特写图上传,此字段表示的特写图的Base64编码。
1.7.1.21 imagePath string 背景图,Base64编码后的云存路径 废弃字段,新对接用户不建议使用;使用臻云时,此字段是相对路径,使用自定义MQTT时,表示的是绝对路径
1.7.1.22 imageAbsolutePath string 背景图,Base64编码后的云存绝对路径 使用VZOSS时,此字段无效
1.7.1.23 imageRelativePath string 背景图,Base64编码后的云存相对路径
1.7.1.24 full_image_content Web设置传图方式为Mqtt,并且使能背景图上传,此字段表示的特写图的Base64编码。
1.7.1.25 is_fake_plate int 是否是伪车牌(0真;1伪)
1.7.1.26 is_encrypted int 车牌是否加密(0否;1加密)
1.7.1.27 isoffline int 是否离线数据(0 在线;暂不支持离线数据推送)
1.7.1.28 location object 车牌位置矩形
1.7.1.28.1 RECT object 车牌位置矩形
1.7.1.28.2 bottom int 下
1.7.1.28.3 left int 左
1.7.1.28.4 right int 右
1.7.1.28.5 top int 上
1.7.1.29 plate_distance int 车牌距离相机的位置,单位dm
1.7.1.30 plate_true_width int 车牌的真实宽度,单位cm
1.7.1.31 plateid int 记录编号
1.7.1.32 timeStamp object 时间戳
1.7.1.32.1 Timeval object 时间戳
1.7.1.32.1.1 decday long int 日
1.7.1.32.1.2 dechour long int 时
1.7.1.32.1.3 decmin long int 分
1.7.1.32.1.4 decmon long int 月
1.7.1.32.1.5 decsec long int 秒
1.7.1.32.1.6 usec long int 微秒
1.7.1.32.1.7 decyear long int 年
1.7.1.33 timeUsed int 识别用时
1.7.1.34 triggerType int 触发类型:1自动;2外部;4软件;8虚拟地感线圈;64 车滞留事件;65 车滞留恢复事件;66 机动车折返事件;67 机动车通行事件;68 跟车事件;69 车辆拥堵;70 车辆拥堵解除;71 人滞留;72 人滞留解除;73 人员拥堵;74 人员拥堵解除;75 非机动车滞留;76 非机动车滞留解除;77 道闸正常;78 道闸异常;79 道闸回落;80 道闸抬升; 事件功能仅有部分设备支持
1.7.1.35 type int 车牌类型

results matching ""

    No results matching ""