cupido/scripts
Giorgio Gilestro 2e80b834ca Add video duration_s to inventory and propagate to merged TSV
build_video_inventory.py now opens each mp4 with cv2 to record
duration_s. Cached: a video already in the previous inventory keeps
its computed duration, so re-runs only pay the cv2 cost for new
recordings.

export_video_db_index.py looks up the matched video's duration and
writes it as training_video_duration_s / testing_video_duration_s
alongside the existing path columns. Useful for spotting unusually
short or long sessions and for sanity checks on the tracker output.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 11:13:05 +01:00
..
__init__.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
analyze_distances.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
auto_detect_targets.py Remove hardcoded /home/gg paths so the project is portable 2026-05-01 08:55:44 +01:00
build_video_inventory.py Add video duration_s to inventory and propagate to merged TSV 2026-05-01 11:13:05 +01:00
calculate_distances.py Unify analysis pipeline around the TSV; move tracked DBs out of cloud sync 2026-04-30 15:20:14 +01:00
config.py Remove data/raw/ entirely — all bulky data now under /mnt/data/projects/cupido/ 2026-05-01 09:20:25 +01:00
detect_barrier_opening.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
explore_barrier_signal.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
export_video_db_index.py Add video duration_s to inventory and propagate to merged TSV 2026-05-01 11:13:05 +01:00
load_roi_data.py Make load_roi_data progress bar refresh reliably in JupyterLab 2026-05-01 09:43:12 +01:00
merge_2025_07_15_into_xlsx.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
ml_classification.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
monitor_tracking.py Unify analysis pipeline around the TSV; move tracked DBs out of cloud sync 2026-04-30 15:20:14 +01:00
pick_targets.py Merge 2025-07-15 batch into the xlsx; tools to detect & re-track 2026-05-01 10:28:25 +01:00
plot_avg_distance_aligned.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
plot_avg_distance_first_200s.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
plot_avg_distance_over_time.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
plot_distance_over_time.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
statistical_tests.py Initial commit: organized project structure for student handoff 2026-03-05 16:08:36 +00:00
track_videos.py Remove hardcoded /home/gg paths so the project is portable 2026-05-01 08:55:44 +01:00
tracking_geometry.py Add offline tracking pipeline for video backlog 2026-04-27 17:25:26 +01:00