42 lines
846 B
YAML
42 lines
846 B
YAML
runtime:
|
|
rtsp_url: "rtsp://user:password@camera-ip:554/h264/ch1/main/av_stream"
|
|
output_dir: "outputs"
|
|
|
|
yolo:
|
|
model_path: "weights/yolo11n.pt"
|
|
tracker: "botsort.yaml"
|
|
conf: 0.35
|
|
iou: 0.5
|
|
imgsz: 1280
|
|
device: "cuda:0"
|
|
|
|
counting:
|
|
line: [0.1, 0.55, 0.9, 0.55]
|
|
line_mode: "normalized"
|
|
crossing_tolerance: 12.0
|
|
|
|
attributes:
|
|
enabled: false
|
|
sample_every_n_frames: 12
|
|
max_samples_per_track: 5
|
|
min_person_box_width: 80
|
|
min_person_box_height: 160
|
|
person_crop_padding: 0.15
|
|
detector_backend: "retinaface"
|
|
enforce_detection: false
|
|
|
|
output:
|
|
save_video: false
|
|
save_json: true
|
|
save_csv: true
|
|
draw_boxes: false
|
|
draw_labels: false
|
|
|
|
rtsp:
|
|
sample_interval_seconds: 1.0
|
|
window_seconds: 1800
|
|
reconnect_delay_seconds: 5.0
|
|
stream_open_timeout_seconds: 10.0
|
|
idle_sleep_seconds: 0.05
|
|
output_subdir: "rtsp_stream"
|