71 lines
1.8 KiB
TOML
71 lines
1.8 KiB
TOML
camera_id = "1"
|
|
timezone = "Asia/Shanghai"
|
|
|
|
[stream]
|
|
rtsp_url = ""
|
|
|
|
[thresholds]
|
|
max_dwell_seconds = 1200
|
|
trash_confirmation_seconds = 120
|
|
|
|
[layout]
|
|
zone_count = 4
|
|
zone_ids = ["1", "2", "3", "4"]
|
|
|
|
[[zones]]
|
|
id = "1"
|
|
label = "区域 1"
|
|
polygon = [[0.241988, 0.289459], [0.323741, 0.306900], [0.319817, 0.438286], [0.256377, 0.420845]]
|
|
|
|
[[zones]]
|
|
id = "2"
|
|
label = "区域 2"
|
|
polygon = [[0.354480, 0.320852], [0.423152, 0.330154], [0.419228, 0.470842], [0.378025, 0.454564], [0.357096, 0.446425]]
|
|
|
|
[[zones]]
|
|
id = "3"
|
|
label = "区域 3"
|
|
polygon = [[0.545263, 0.400819], [0.587368, 0.417661], [0.554737, 0.500000], [0.509474, 0.483158]]
|
|
|
|
[[zones]]
|
|
id = "4"
|
|
label = "区域 4"
|
|
polygon = [[0.581255, 0.408928], [0.717971, 0.468544], [0.711092, 0.574018], [0.556320, 0.500645]]
|
|
|
|
[trash]
|
|
roi = [[0.776842, 0.486901], [0.896842, 0.522456], [0.841053, 0.857427], [0.716842, 0.853684]]
|
|
|
|
[runtime]
|
|
sample_interval_seconds = 5.0
|
|
sample_stride_pixels = 4
|
|
occupancy_mean_delta = 55.0
|
|
occupancy_dark_luma_threshold = 80.0
|
|
occupancy_dark_fraction = 0.06
|
|
occupancy_texture_dark_fraction = 0.04
|
|
occupancy_bright_luma_threshold = 220.0
|
|
occupancy_bright_reflection_fraction = 0.18
|
|
occupancy_reflection_dark_fraction = 0.10
|
|
occupancy_reflection_bright_dark_ratio = 2.0
|
|
occupancy_confirm_frames = 2
|
|
empty_confirm_frames = 2
|
|
trash_motion_delta = 18.0
|
|
trash_sustained_motion_delta = 8.0
|
|
trash_sustained_motion_frames = 2
|
|
trash_motion_cooldown_seconds = 3
|
|
trajectory_enabled = true
|
|
trajectory_window_seconds = 8
|
|
trajectory_sample_interval_seconds = 1.0
|
|
trajectory_min_points = 3
|
|
trajectory_min_confidence = 0.72
|
|
trajectory_motion_delta = 20.0
|
|
trajectory_min_blob_area = 12
|
|
trajectory_max_blob_area_fraction = 0.35
|
|
trajectory_trash_entry_margin = 0.04
|
|
trajectory_backend = "motion"
|
|
yolo_enabled = false
|
|
yolo_model_path = ""
|
|
yolo_min_confidence = 0.65
|
|
|
|
[event_sink]
|
|
path = "logs/events.jsonl"
|