Move TARGETS_DIR to /mnt/data/projects/cupido/targets
Targets relocated alongside the tracking DBs (out of ownCloud sync) so the docker mount already covers them and ownCloud no longer churns on JSON sidecars. Updated config, fixed a stale docstring in pick_targets, and dropped the now-moot data/targets/*.json gitignore rule. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
f60a9d0530
commit
7d09523840
3 changed files with 5 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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/<video_basename>.json
|
||||
Output JSON sidecar: TARGETS_DIR/<video_basename>.json
|
||||
{
|
||||
"video_path": "/mnt/.../*.mp4",
|
||||
"frame_index": <int>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue