cupido/scripts
Giorgio Gilestro 16035bce36 Picker: arrow keys behave the same regardless of focus
Two complementary fixes:

1. Register the keydown handler on the capture phase. This ensures we
   run before the native HTML <video> element's built-in keyboard
   handler, so our preventDefault actually blocks the default seek.
   Without this, when focus was on the video, both handlers ran and
   the actual jump was the sum of both (±5 s ours + native = >1 min
   in some browsers).

2. Blur the video element on mouseup. After clicking the seekbar the
   video keeps keyboard focus, which made the symptom appear right
   after every scrub. Releasing focus on mouseup avoids that
   altogether.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 14:46:41 +01:00
..
barrier_picker_app Picker: arrow keys behave the same regardless of focus 2026-05-01 14:46:41 +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
cleanup_xlsx.py Dedupe + canonicalise the merged xlsx, then guard the export 2026-05-01 13:39:57 +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 Dedupe + canonicalise the merged xlsx, then guard the export 2026-05-01 13:39:57 +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_barrier.py Force interactive matplotlib backend in pick_barrier 2026-05-01 12:23:15 +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