人员管理
人脸识别
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "face",
"ch_name": "人脸识别",
"type": "match_face"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [610, 64, 720, 210], //左上角、右下角坐标
"color": [ 0, 0,255], //BGR颜色
"label": "标签", //标签
"conf": 0.6856480419635773, //置信度
"ext": {
"face": { //人脸信息
"external_id": "外部ID",
"name": "姓名",
"age": 18,
"sex": "性别",
"desc": "简介",
"image": "",
"update_time": 1735816369,
"id": "677674b15dc58a0dae3151a0"
}
}
}
],
"polygons": {}, //多边形对象
"lines": {} //线段对象
},
"custom": {},
"group": { //人脸组信息
"id": "分组id",
"name": "组名"
},
"face": [
{
"id": "人脸id",
"external_id": "外部ID",
"name": "姓名",
"age": 18,
"sex": "性别",
"desc": "简介",
"update_time": 1735816369,
"lib_image": "底库图片,base64编码的图片数据",
"conf": "人脸相似度"
}
]
}
}
未佩戴安全帽检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "helmet",
"ch_name": "未佩戴安全帽检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [694,602,850,720], //左上角、右下角坐标
"color": [0,0, 255], //BGR颜色
"label": "未佩戴安全帽", //标签
"conf": 0.85, //置信度
"ext": {} //扩展字段
},
{
"xyxy": [ 436,504,500,552],
"color": [0, 0, 255 ],
"label": "未佩戴安全帽",
"conf": 0.77,
"ext": {}
}
],
"polygons": {}, //多边形框
"lines": {} //线框
},
"custom": {} //自定义字段
}
}
未穿戴反光衣检测
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "reflective_vest",
"ch_name": "未穿戴反光衣检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [92, 112,326,672], //左上角、右下角坐标
"color": [0, 0,255], //BGR颜色
"label": "未穿戴反光衣", //标签
"conf": 0.95, //置信度
"ext": {} //扩展字段
},
{
"xyxy": [590, 110, 800, 628],
"color": [0, 255, 0],
"label": "人",
"conf": 0.93,
"ext": {}
}
],
"polygons": {},//多边形对象
"lines": {} //线段对象
},
"custom": {}
}
}
离岗检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "person_departure",
"ch_name": "离岗检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [694,602,850,720], //左上角、右下角坐标
"color": [0,0, 255], //BGR颜色
"label": "人", //标签
"conf": 0.9, //置信度
"ext": {
"in_polygon": false // 区域内是否有人
}
},
{
"xyxy": [216,564,276,636],
"color": [0,255,0],
"label": "人",
"conf": 0.73,
"ext": {
"in_polygon": false
}
}
],
"polygons": { // 标定检测区域:多边形区域
"polygon_ffa5d52c-b041-40f0-9eb6-f86008cda9c0": {
"name": "00", // 多边形名称
"polygon": [ // 多边形顶点坐标
[526,588],
[803,541],
[900,616],
[521,671]
],
"color": [0,0,255],//BGR颜色
"ext": {
"result": 0 //识别结果数
}
}
},
"lines": {}
},
"custom": {}
}
}
值岗检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "on_duty",
"ch_name": "值岗检测",
"type": "counting"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [694,602,850,720], //左上角、右下角坐标
"color": [0,0, 255], //BGR颜色
"label": "人", //标签
"conf": 0.89, //置信度
"ext": {
"in_polygon": false // 区域内是否有人
}
},
{
"xyxy": [668,570,794,656],
"color": [0,255,0],
"label": "人",
"conf": 0.88,
"ext": {
"in_polygon": false
}
}
],
"polygons": { // 标定检测区域:多边形区域
"polygon_1e8579fb-fdb3-4c1a-b96c-ad71540b8304": {
"name": "", // 多边形名称
"polygon": [
[400,400],
[773,461],
[713,656],
[618,621]
], // 多边形顶点坐标
"color": [0,0,255], // //BGR颜色
"ext": {
"result": 0 // 区域内的人数
}
}
},
"lines": {}
},
"custom": {}
}
}
区域入侵
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": { // 算法信息,英文名称,中文名称
"name": "person_intrusion",
"ch_name": "区域入侵"
},
"hazard_level": "", // 危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [ // 检测到的目标矩形框
{
"xyxy": [674,514,734,578],//矩形框的左上角和右下角的坐标
"color": [0,0, 255], //BGR颜色
"label": "人",// 目标类别
"conf": 0.88,// 置信度
"ext": {} //扩展字段
}
],
"polygons": { //标定检测区域:多边形区域
"polygon_1c69301f-922d-4bba-902e-6646bb152034": {
"name": "", // 多边形名称
"polygon": [
[400,400],
[773,461],
[713,656],
[618,621]
], // 多边形顶点坐标
"color": [0,0,255], // //BGR颜色
"ext": {}
}
},
"lines": {},
},
"custom": {}
}
}
人员聚集
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": { // 算法信息,英文名称,中文名称
"name": "person_gathering",
"ch_name": "人员聚集"
},
"hazard_level": "", // 危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [ // 检测到的目标矩形框
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "人", // 目标类别
"conf": 0.87, // 置信度
"ext": {
"in_polygon": true // 是否在多边形区域内
}
},
{
"xyxy": [674,514,734,578],//矩形框的左上角和右下角的坐标
"color": [0,0, 255], //BGR颜色
"label": "人", //标签
"conf": 0.84, //置信度
"ext": {
"in_polygon": false // 是否在多边形区域内
}
}
],
"polygons": { //标定检测区域:多边形区域
"polygon_af1b75e1-e4b6-4ee1-9e1a-7223ee76cc3a": {
"name": "", // 多边形名称
"polygon": [
[226,571],
[573,375],
[1086,641]
], // 多边形顶点坐标
"color": [0,0,255], // 多边形颜色
"ext": {
"result": 2, // 区域内的人数
}
}
},
"lines": {}
},
"custom": {}
}
}
睡岗检测
人员计数
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "person_counting",
"ch_name": "人员计数",
"type": "cross_line_counting"
},
"hazard_level": "", // 危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [674,514,734,578],//矩形框的左上角和右下角的坐标
"color": [0,0, 255], //BGR颜色
"label": "人", //标签
"conf": 0.86, // 置信度
"ext": {}
}
],
"polygons": {},
"lines": { //线型对象
"line_f8fc2f1a-eaf8-4ec2-ada6-960611a7fa28": {
"name": "aaa", //直线名称
"line": [ //直线顶点坐标
[116,518],
[1176,491]
],
"color": [255,0,0], //BGR颜色
"ext": {
"direction": "d+", ////方向,l-r+:左减右增,l+r-:左增右减少,u+d-:上增下减,u-d+:上减下增,r+:右增,l+:左增,u+:上增,d+:下增
"action": {
"increase": "进入",
"decrease": "离开",
"delta": "统计"
},
"result": {
"count": 0, // 单向计数的结果
"increase": 0, // 进入结果
"decrease": 2, // 离开结果
"delta": -2 // 双向计数的结果,进入离开相减结果
}
}
}
}
},
"custom": {}
}
}
徘徊检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "person_loitering",
"ch_name": "徘徊检测",
"type": "general"
},
"hazard_level": "", // 危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [92, 112,326,672], //左上角、右下角坐标
"color": [0, 0,255], //BGR颜色
"label": "徘徊",
"conf": 0.92,
"ext": {}
}
],
"polygons": { //标定检测区域:多边形区域
"polygon_9d6a83f9-d13a-49e4-b390-7159d376258d": {
"name": "", // 多边形名称
"polygon": [
[400,400],
[773,461],
[713,656],
[618,621]
], // 多边形顶点坐标
"color": [0,0,255], //BGR颜色
"ext": {}
}
},
"lines": {}
},
"custom": {}
}
}
抽烟检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "smoke",
"ch_name": "抽烟检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [ // 检测到的目标矩形框
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "抽烟", // 目标类别
"conf": 0.86, // 置信度
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
使用手机检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "play_phone",
"ch_name": "使用手机检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "使用手机",
"conf": 0.83, // 置信度
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
跌倒检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "fall_down",
"ch_name": "跌倒检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [92, 112,326,672], //左上角、右下角坐标
"color": [0, 0,255], //BGR颜色
"label": "跌倒",
"conf": 0.85,
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
未穿工服检测
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "work_clothes",
"ch_name": "未穿工服检测",
"type": "match_work_clothes"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [92, 112,326,672], //左上角、右下角坐标
"color": [0, 0,255], //BGR颜色
"label": "未穿工服",
"conf": null,
"ext": {}
}
],
"polygons": {
"polygon_e8bc3cce-be72-485a-bc21-3256e698737e": {
"name": "",
"polygon": [
[170,330],
[716,165],
[970,337],
[260,614]
],
"color": [255,0,0],
"ext": {}
}
},
"lines": {}
},
"custom": {},
"group": {
"id": "组id",
"name": "组名"
}
}
}
车辆管理
车型识别
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "car_type",
"ch_name": "车型识别",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "小轿车",
"conf": 0.87,
"ext": {}
},
{
"xyxy": [
506,
48,
692,
148
],
"color": [
0,
0,
255
],
"label": "小轿车",
"conf": 0.83,
"ext": {}
},
{
"xyxy": [
1106,
46,
1240,
106
],
"color": [
0,
0,
255
],
"label": "小轿车",
"conf": 0.67,
"ext": {}
},
{
"xyxy": [
1034,
82,
1230,
302
],
"color": [
0,
0,
255
],
"label": "货车",
"conf": 0.62,
"ext": {}
},
{
"xyxy": [
222,
48,
396,
146
],
"color": [
0,
0,
255
],
"label": "小轿车",
"conf": 0.59,
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
车辆计数
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "car_counting",
"ch_name": "车辆计数",
"type": "cross_line_counting"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "小轿车",
"conf": 0.79,
"ext": {}
},
{
"xyxy": [
258,
14,
550,
252
],
"color": [
0,
255,
0
],
"label": "小轿车",
"conf": 0.51,
"ext": {}
}
],
"polygons": {},
"lines": {
"line_6f3226b7-aa2a-4a46-aece-84f9cb00278e": {
"name": "",
"line": [
[
140,
498
],
[
1213,
433
]
],
"color": [
255,
0,
0
],
"ext": {
"direction": "u+d-", //方向,l-r+:左减右增,l+r-:左增右减少,u+d-:上增下减,u-d+:上减下增,r+:右增,l+:左增,u+:上增,d+:下增
"action": {
"increase": "进入",
"decrease": "离开",
"delta": "统计"
},
"result": {
"count": 0, // 单向计数的结果
"increase": 0, // 进入结果
"decrease": 2, // 离开结果
"delta": -2 // 双向计数的结果,进入离开相减结果
}
}
}
}
},
"custom": {}
}
}
车辆违停
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": { // 算法信息,英文名称,中文名称
"name": "car_misplaced",
"ch_name": "车辆违停"
},
"hazard_level": "", // 危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [ // 检测到的目标矩形框
{
"xyxy": [ //矩形框的左上角和右下角的坐标
0,
324,
180,
550
],
"color": [ // 矩形框的颜色
0,
0,
255
],
"label": "公交车", // 检测结果类别
"conf": 0.92, // 置信度
"ext": {}
}
],
"polygons": { //标定检测区域:多边形区域
"polygon_1d41831d-06e3-4014-ab73-b4b03f23b63c": {
"name": "", // 多边形名称
"polygon": [ // 多边形顶点坐标
[86,656],
[441,323],
[91,255],
[10,285],
[10,590]
],
"color": [0,0,255],// 多边形颜色
"ext": {
"in_polygon": true // 是否在多边形区域内
}
}
},
"lines": {}
},
"custom": {}
}
}
车牌识别
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": { // 算法信息,英文名称,中文名称
"name": "lpr",
"ch_name": "车牌识别"
},
"hazard_level": "", // 危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [ // 检测到的目标矩形框
{
"xyxy": [623,646,655,658], //矩形框的左上角和右下角的坐标
"color": [0,255,0], // 矩形框的颜色
"label": "粤B92320 蓝牌", // 检测结果
"conf": 0.74, // 置信度
"ext": { // 扩展字段
"plate_code": "粤B92320",
"plate_type": "蓝牌"
}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
电瓶车违停
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "electric_bike_misplaced",
"ch_name": "电瓶车违停",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "电瓶车",
"conf": 0.69,
"ext": {}
}
],
"polygons": {
"polygon_bbadcede-ec59-4251-86fe-f7d417f10f31": {
"name": "",
"polygon": [
[1000,208],
[1041,236],
[815,711],
[473,700]
],
"color": [0,0,255],
"ext": {
"in_polygon": true
}
}
},
"lines": {}
},
"custom": {}
}
}
电瓶车进电梯检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "electric_vehicle_elevator",
"ch_name": "电瓶车进电梯检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "电瓶车",
"conf": 0.71,
"ext": {}
},
{
"xyxy": [48,350,166,502],
"color": [0,0,255],
"label": "电瓶车",
"conf": 0.51,
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
险情防控
烟雾检测
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "smog",
"ch_name": "烟雾检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "烟雾",
"conf": 0.73, // 置信度
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
明火检测
{
"id": "xxxxxx", //告警id
"alert_time": 1706519903.634085, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "fire",
"ch_name": "明火检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "火焰",
"conf": 0.51,
"ext": {}
}
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
灭火器离位检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "extinguisher_misplaced",
"ch_name": "灭火器离位检测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [678,516,740,576], //矩形框的左上角和右下角的坐标
"color": [0,0,255], // 矩形框的颜色
"label": "灭火器",
"conf": 0.89,
"ext": {}
}
],
"polygons": { //标定检测区域:多边形区域
"polygon_83484882-125a-46dd-8123-e7ecc86015cc": {
"name": "", // 多边形名称
"polygon": [
[641,550],
[760,535],
[760,691],
[610,673]
], // 多边形顶点坐标
"color": [0,0,255], //BGR颜色
"ext": {}
}
},
"lines": {}
},
"custom": {}
}
}
行业定制
移动侦测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "motion",
"ch_name": "移动侦测",
"type": "general"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [
{
"xyxy": [730,650,812,720], //左上角、右下角坐标
"color": [0,0,255], //BGR颜色
"label": "运动目标",
"conf": 0.92, //置信度
"ext": {}
} //矩形框对象
],
"polygons": {},
"lines": {}
},
"custom": {}
}
}
黑屏检测
消防通道占用检测
{
"id": "xxxxxx", //告警id
"alert_time": 1742974675.550984, //告警时间戳
"device": {
"id": "设备ID",
"name": "设备名称",
"desc": null
},
"source": {
"id": "数据源ID",
"ipv4": "数据源IP地址",
"desc": "数据源描述"
},
"alg": {
"name": "channel_obstruction",
"ch_name": "消防通道占用检测",
"type": "match_open_lib"
},
"hazard_level": "", //危险等级
"image": "img1_base64", //base64编码的图片数据
"reserved_data": {
"bbox": {
"rectangles": [],
"polygons": { //标定检测区域:多边形区域
"8a1da968-9300-4e0b-a25e-f89cd40fe91e": {
"name": "", // 多边形名称
"polygon": [
[464,356],
[462,490],
[852,512],
[886,354]
], // 多边形顶点坐标
"color": [0,0,255], //BGR颜色
"ext": {
"move": false
}
}
},
"lines": {}
},
"custom": {},
"group": {
"id": "分组id",
"name": "组名"
}
}
}
回复