93 lines
3.1 KiB
JSON
93 lines
3.1 KiB
JSON
{
|
|
"alarm_rules_path": "alarms.json",
|
|
"config_base_path": "/app/config/",
|
|
"data_cache_db_path": "edge_data_cache.db",
|
|
"data_storage_db_path": "edge_proxy_data.db",
|
|
"device_id": "rk3588-proxy-001",
|
|
"log_level": "info",
|
|
"mqtt_broker": "tcp://localhost:1883",
|
|
"mqtt_client_id_prefix": "edge-proxy-",
|
|
"piper_executable_path": "/usr/bin/piper",
|
|
"piper_model_path": "/app/models/model.onnx",
|
|
"tcp_server_ports": [
|
|
12345
|
|
],
|
|
"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_config": {
|
|
"intrusion_zone": [
|
|
100,
|
|
100,
|
|
300,
|
|
300
|
|
],
|
|
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
|
|
"rknn_thread_num": 3,
|
|
"time_threshold_sec": 3.0
|
|
},
|
|
"module_type": "intrusion_detection",
|
|
"output_rtsp": "rtsp://127.0.0.1:8554/ch1301"
|
|
},
|
|
{
|
|
"enabled": true,
|
|
"id": "cam_02_intrusion",
|
|
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1101",
|
|
"module_config": {
|
|
"intrusion_zone": [
|
|
100,
|
|
100,
|
|
300,
|
|
300
|
|
],
|
|
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
|
|
"rknn_thread_num": 3,
|
|
"time_threshold_sec": 3.0
|
|
},
|
|
"module_type": "intrusion_detection",
|
|
"output_rtsp": "rtsp://127.0.0.1:8554/ch1101"
|
|
},
|
|
{
|
|
"enabled": true,
|
|
"id": "cam_03_intrusion",
|
|
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1501",
|
|
"module_config": {
|
|
"intrusion_zone": [
|
|
100,
|
|
100,
|
|
300,
|
|
300
|
|
],
|
|
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
|
|
"rknn_thread_num": 3,
|
|
"time_threshold_sec": 3.0
|
|
},
|
|
"module_type": "intrusion_detection",
|
|
"output_rtsp": "rtsp://127.0.0.1:8554/ch1501"
|
|
},
|
|
{
|
|
"enabled": true,
|
|
"id": "cam_041_intrusion",
|
|
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1401",
|
|
"module_config": {
|
|
"intrusion_zone": [
|
|
100,
|
|
100,
|
|
300,
|
|
300
|
|
],
|
|
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
|
|
"rknn_thread_num": 3,
|
|
"time_threshold_sec": 3.0
|
|
},
|
|
"module_type": "intrusion_detection",
|
|
"output_rtsp": "rtsp://127.0.0.1:8554/ch1401"
|
|
}
|
|
],
|
|
"web_server_port": 8080
|
|
} |