diff --git a/.gitignore b/.gitignore index 07f3445..54331af 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,7 @@ data/raw/*.db data/processed/*.csv # Offline-tracking outputs (regenerable from videos + target JSONs) -# DBs live outside the repo at /mnt/data/projects/cupido/tracked/ -data/targets/*.json +# DBs and target JSONs live outside the repo at /mnt/data/projects/cupido/ data/metadata/video_inventory.csv data/logs/*.log diff --git a/scripts/config.py b/scripts/config.py index 447cee3..e2951f2 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -12,7 +12,9 @@ FIGURES = PROJECT_ROOT / "figures" VIDEOS_ROOT = Path("/mnt/ethoscope_data/videos") VIDEO_INFO_XLSX = PROJECT_ROOT.parent / "all_video_info_merged.xlsx" INVENTORY_CSV = DATA_METADATA / "video_inventory.csv" -TARGETS_DIR = PROJECT_ROOT / "data" / "targets" +# Reason: kept on the local data volume alongside the tracking DBs (out of +# ownCloud sync). See TRACKING_OUTPUT_DIR comment below. +TARGETS_DIR = Path("/mnt/data/projects/cupido/targets") # Reason: tracking DBs are large binary files that don't belong in # ownCloud-synced storage (sync conflicts + bandwidth). They live on the # local data volume instead. Regenerable from videos + target JSONs. diff --git a/scripts/pick_targets.py b/scripts/pick_targets.py index a5eea07..73be53e 100644 --- a/scripts/pick_targets.py +++ b/scripts/pick_targets.py @@ -12,7 +12,7 @@ These three points are the same reference layout used by ethoscope's coordinates. Saving them as a JSON sidecar lets the offline tracker build the 6-ROI HD mating arena grid without needing auto-target detection. -Output JSON sidecar: data/targets/.json +Output JSON sidecar: TARGETS_DIR/.json { "video_path": "/mnt/.../*.mp4", "frame_index": ,