feat: implement K{coop}-L{floor} standard, smart discovery, multi-coop runner, and move test runs to test_run_folder
This commit is contained in:
1 parent
6723701424
commit
b00923dc2b
24 files changed
+2068
-74
No files matched your search
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K1-L1
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K1-L1
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K1-L2
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K1-L2
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K2-L1
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K2-L1
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K2-L2
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K2-L2
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K3-L1
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K3-L1
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K3-L2
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K3-L2
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K4-L1
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K4-L1
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K4-L2
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K4-L2
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K5-L1
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K5-L1
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
@@ -0,0 +1,186 @@
|
||||
batch:
|
||||
root_dir: ../VIDEOS/cycle7/K5-L2
|
||||
camera_glob: '*cam{num}_*.mp4'
|
||||
output_subdir: output
|
||||
compress_max_mb: 200
|
||||
delete_intermediate: false
|
||||
checkpoint_every_n_frames: 3000
|
||||
location: K5-L2
|
||||
db_path: db/chicken_counts.db
|
||||
cycle_start_date: '2026-05-22'
|
||||
execution_mode: parallel_processes
|
||||
stages:
|
||||
early_cycle:
|
||||
day_min: 0
|
||||
day_max: 15
|
||||
detection:
|
||||
conf: 0.1
|
||||
min_box_area_px: 100
|
||||
roi:
|
||||
min_overlap_ratio: 0.1
|
||||
mid_cycle:
|
||||
day_min: 16
|
||||
day_max: 999
|
||||
defaults:
|
||||
detection:
|
||||
model_path: models/NUC5070_chicken-detection-model-v26n-300e-best-2026-05-02-NEW.engine
|
||||
classes:
|
||||
- 0
|
||||
ignored_classes:
|
||||
- 1
|
||||
- 2
|
||||
conf: 0.4
|
||||
iou: 0.55
|
||||
imgsz: 640
|
||||
device: '0'
|
||||
min_box_area_px: 3000
|
||||
validate_while_inside: true
|
||||
dedupe_radius_px: 0
|
||||
dedupe_frames: 12
|
||||
detection_zone:
|
||||
enabled: true
|
||||
buffer_above_px: 250
|
||||
buffer_below_px: 250
|
||||
show_in_overlay: true
|
||||
tracker:
|
||||
tracker_config_path: configs/trackers/botsort_chicken.yaml
|
||||
persist: true
|
||||
track_buffer: 90
|
||||
gate:
|
||||
mode: two_line
|
||||
lines_y:
|
||||
- 420
|
||||
- 730
|
||||
direction: bottom_to_up
|
||||
motion:
|
||||
enabled: true
|
||||
axis: vertical
|
||||
forward_sign: 1.0
|
||||
ema_alpha: 0.2
|
||||
reverse_enter_threshold: -1.5
|
||||
reverse_exit_threshold: -0.5
|
||||
debounce_frames: 12
|
||||
min_features: 40
|
||||
max_corners: 50
|
||||
stride_frames: 3
|
||||
flow_scale: 0.5
|
||||
quality_level: 0.01
|
||||
min_distance: 8
|
||||
block_radius: 6
|
||||
overlay:
|
||||
show_boxes: true
|
||||
show_track_trails: false
|
||||
trail_length: 20
|
||||
show_center_marker: false
|
||||
show_track_ring: false
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
inside_box_only: true
|
||||
validated_only: true
|
||||
pending_blink: true
|
||||
pending_colors:
|
||||
- - 255
|
||||
- 255
|
||||
- 0
|
||||
- - 0
|
||||
- 255
|
||||
- 255
|
||||
display:
|
||||
show_window: false
|
||||
encoder: auto
|
||||
output_bitrate_kbps: 2000
|
||||
codec_preference:
|
||||
- avc1
|
||||
- mp4v
|
||||
- H264
|
||||
performance:
|
||||
half: false
|
||||
overlay_buffer_reuse: true
|
||||
inference_stride: 2
|
||||
stream:
|
||||
enabled: true
|
||||
shm_dir: /dev/shm
|
||||
interval_frames: 5
|
||||
feedback:
|
||||
enabled: true
|
||||
every_n_frames: 3000
|
||||
save_images: false
|
||||
log_to_terminal: true
|
||||
roi:
|
||||
inset_left_px: 60
|
||||
inset_right_px: 60
|
||||
inset_top_px: 0
|
||||
inset_bottom_px: 0
|
||||
min_overlap_ratio: 0.3
|
||||
cameras:
|
||||
CC1:
|
||||
camera_num: 1
|
||||
count_anchor:
|
||||
- 780
|
||||
- 120
|
||||
detection:
|
||||
min_box_area_px: 2500
|
||||
conf: 0.35
|
||||
roi:
|
||||
points:
|
||||
- - 250
|
||||
- 330
|
||||
- - 1650
|
||||
- 330
|
||||
- - 1650
|
||||
- 720
|
||||
- - 250
|
||||
- 720
|
||||
CC2:
|
||||
camera_num: 2
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
conf: 0.5
|
||||
dedupe_radius_px: 32
|
||||
dedupe_frames: 24
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 380
|
||||
- - 1880
|
||||
- 380
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC3:
|
||||
camera_num: 3
|
||||
count_anchor:
|
||||
- 900
|
||||
- 120
|
||||
detection:
|
||||
dedupe_radius_px: 24
|
||||
dedupe_frames: 16
|
||||
roi:
|
||||
points:
|
||||
- - 20
|
||||
- 330
|
||||
- - 1880
|
||||
- 330
|
||||
- - 1880
|
||||
- 720
|
||||
- - 20
|
||||
- 720
|
||||
CC4:
|
||||
camera_num: 4
|
||||
count_anchor:
|
||||
- 700
|
||||
- 120
|
||||
roi:
|
||||
points:
|
||||
- - 50
|
||||
- 330
|
||||
- - 1450
|
||||
- 330
|
||||
- - 1450
|
||||
- 720
|
||||
- - 50
|
||||
- 720
|
||||
Reference in new issue
Block a user