控制增加一个灯

This commit is contained in:
zengqile 2026-01-23 14:48:38 +08:00
parent 394c3430f9
commit a2ab8807d4
1 changed files with 211 additions and 209 deletions

View File

@ -1,211 +1,213 @@
{
"video_service": {
"enabled": true
},
"video_streams": [
{
"enabled": true,
"id": "cam_01_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/3101",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
4,
8
],
[
1057,
13
],
[
1053,
267
],
[
1347,
289
],
[
1365,
8
],
[
1911,
6
],
[
1898,
1077
],
[
7,
1077
]
],
"label_path": "/app/models/human.txt",
"light_device_ids": [
"351",
"352",
"353",
"349",
"354"
],
"mode": 2,
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1901"
},
{
"enabled": true,
"id": "cam_02_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/3201",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
11,
13
],
[
1907,
13
],
[
1911,
1074
],
[
7,
1070
]
],
"label_path": "/app/models/human.txt",
"light_device_ids": [
"351",
"352",
"353",
"349",
"354"
],
"mode": 2,
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1801"
},
{
"enabled": true,
"id": "cam_03_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1601",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
20,
19
],
[
1891,
35
],
[
1433,
466
],
[
1006,
619
],
[
1210,
1001
],
[
1201,
1072
],
[
2,
1077
]
],
"label_path": "/app/models/human.txt",
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch2201"
},
{
"enabled": false,
"id": "cam_04_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1101",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
400,
400
],
[
800,
400
],
[
900,
600
],
[
300,
600
]
],
"label_path": "/app/models/human.txt",
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1201"
},
{
"enabled": false,
"id": "cam_01_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1101",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
400,
400
],
[
800,
400
],
[
900,
600
],
[
300,
600
]
],
"label_path": "/app/models/human.txt",
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1101"
}
]
"video_service": {
"enabled": true
},
"video_streams": [
{
"enabled": true,
"id": "cam_01_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/3101",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
4,
8
],
[
1057,
13
],
[
1053,
267
],
[
1347,
289
],
[
1365,
8
],
[
1911,
6
],
[
1898,
1077
],
[
7,
1077
]
],
"label_path": "/app/models/human.txt",
"light_device_ids": [
"351",
"352",
"353",
"349",
"354",
"350"
],
"mode": 2,
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1901"
},
{
"enabled": true,
"id": "cam_02_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/3201",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
11,
13
],
[
1907,
13
],
[
1911,
1074
],
[
7,
1070
]
],
"label_path": "/app/models/human.txt",
"light_device_ids": [
"351",
"352",
"353",
"349",
"354",
"350"
],
"mode": 2,
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1801"
},
{
"enabled": true,
"id": "cam_03_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1601",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
20,
19
],
[
1891,
35
],
[
1433,
466
],
[
1006,
619
],
[
1210,
1001
],
[
1201,
1072
],
[
2,
1077
]
],
"label_path": "/app/models/human.txt",
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch2201"
},
{
"enabled": false,
"id": "cam_04_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1101",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
400,
400
],
[
800,
400
],
[
900,
600
],
[
300,
600
]
],
"label_path": "/app/models/human.txt",
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1201"
},
{
"enabled": false,
"id": "cam_01_intrusion",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1101",
"module_config": {
"class_num": 3,
"intrusion_zone": [
[
400,
400
],
[
800,
400
],
[
900,
600
],
[
300,
600
]
],
"label_path": "/app/models/human.txt",
"model_path": "/app/models/human_detection.rknn",
"rknn_thread_num": 3,
"time_threshold_sec": 3
},
"module_type": "human_detection",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1101"
}
]
}