Files
cold_display_guard/config/example.toml
2026-04-27 10:59:29 +08:00

47 lines
1.0 KiB
TOML

camera_id = "cold_display_cam_01"
timezone = "Asia/Shanghai"
[thresholds]
max_dwell_seconds = 10800
trash_confirmation_seconds = 120
[layout]
rows = 2
cols = 4
zone_ids = ["r1c1", "r1c2", "r1c3", "r1c4", "r2c1", "r2c2", "r2c3", "r2c4"]
[[zones]]
id = "r1c1"
polygon = [[0.00, 0.00], [0.25, 0.00], [0.25, 0.50], [0.00, 0.50]]
[[zones]]
id = "r1c2"
polygon = [[0.25, 0.00], [0.50, 0.00], [0.50, 0.50], [0.25, 0.50]]
[[zones]]
id = "r1c3"
polygon = [[0.50, 0.00], [0.75, 0.00], [0.75, 0.50], [0.50, 0.50]]
[[zones]]
id = "r1c4"
polygon = [[0.75, 0.00], [1.00, 0.00], [1.00, 0.50], [0.75, 0.50]]
[[zones]]
id = "r2c1"
polygon = [[0.00, 0.50], [0.25, 0.50], [0.25, 1.00], [0.00, 1.00]]
[[zones]]
id = "r2c2"
polygon = [[0.25, 0.50], [0.50, 0.50], [0.50, 1.00], [0.25, 1.00]]
[[zones]]
id = "r2c3"
polygon = [[0.50, 0.50], [0.75, 0.50], [0.75, 1.00], [0.50, 1.00]]
[[zones]]
id = "r2c4"
polygon = [[0.75, 0.50], [1.00, 0.50], [1.00, 1.00], [0.75, 1.00]]
[trash]
roi = [[0.80, 0.65], [1.00, 0.65], [1.00, 1.00], [0.80, 1.00]]