bonus-edge-proxy/config/video_config.json

77 lines
2.6 KiB
JSON
Raw Normal View History

2025-11-04 18:38:05 +08:00
{
"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",
2025-11-06 18:11:11 +08:00
"module_type": "intrusion_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1301",
2025-11-04 18:38:05 +08:00
"module_config": {
2025-11-06 18:11:11 +08:00
"model_path": "/app/edge-proxy/models/RK3588/human.rknn",
2025-11-05 14:50:25 +08:00
"rknn_thread_num": 3,
2025-11-06 18:11:11 +08:00
"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"
]
}
}
2025-11-04 18:38:05 +08:00
},
{
2025-11-06 18:11:11 +08:00
"enabled": false,
2025-11-04 18:38:05 +08:00
"id": "cam_03_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1501",
2025-11-06 18:11:11 +08:00
"module_type": "intrusion_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1501",
2025-11-04 18:38:05 +08:00
"module_config": {
2025-11-05 14:50:25 +08:00
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
"rknn_thread_num": 3,
2025-11-06 18:11:11 +08:00
"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"
]
}
}
2025-11-04 18:38:05 +08:00
}
]
}