77 lines
2.6 KiB
JSON
77 lines
2.6 KiB
JSON
{
|
|
"video_service": {
|
|
"enabled": true
|
|
},
|
|
"video_streams": [
|
|
{
|
|
"enabled": true,
|
|
"id": "cam_01_intrusion",
|
|
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1301",
|
|
"module_type": "intrusion_detection",
|
|
"output_rtsp": "rtsp://127.0.0.1:8554/ch1301",
|
|
"module_config": {
|
|
"model_path": "/app/edge-proxy/models/RK3588/human.rknn",
|
|
"rknn_thread_num": 3,
|
|
"pre_processor": {
|
|
"type": "letterbox",
|
|
"target_width": 640,
|
|
"target_height": 640
|
|
},
|
|
"post_processor": {
|
|
"type": "yolov5",
|
|
"label_path": "/app/edge-proxy/models/human.txt",
|
|
"class_num": 3,
|
|
"conf_threshold": 0.25,
|
|
"nms_threshold": 0.45
|
|
},
|
|
"tracker_config": {
|
|
"intrusion_zone": [
|
|
100,
|
|
100,
|
|
300,
|
|
300
|
|
],
|
|
"time_threshold_sec": 3,
|
|
"target_classes": [
|
|
"person"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"enabled": false,
|
|
"id": "cam_03_intrusion",
|
|
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1501",
|
|
"module_type": "intrusion_detection",
|
|
"output_rtsp": "rtsp://127.0.0.1:8554/ch1501",
|
|
"module_config": {
|
|
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
|
|
"rknn_thread_num": 3,
|
|
"pre_processor": {
|
|
"type": "letterbox",
|
|
"target_width": 640,
|
|
"target_height": 640
|
|
},
|
|
"post_processor": {
|
|
"type": "yolov5",
|
|
"label_path": "/app/edge-proxy/models/coco_80_labels_list.txt",
|
|
"class_num": 80,
|
|
"conf_threshold": 0.25,
|
|
"nms_threshold": 0.45
|
|
},
|
|
"tracker_config": {
|
|
"intrusion_zone": [
|
|
100,
|
|
100,
|
|
300,
|
|
300
|
|
],
|
|
"time_threshold_sec": 3,
|
|
"target_classes": [
|
|
"person"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |