This folder contains:
run.py: CLI launcher that invokessrc.pipeline.run_pipeline.src/detector_yolov11.py: Ultralytics-backed YOLOv11 detector adapter.src/calibrate_click.py: Interactive homography calibration (click 4 ground points).
Next steps: 0) Create a New Environment with Python 3.12 (Recommended):
python3 -m venv venv_stable source venv_stable/bin/activate
- Make sure the rest of the pipeline modules from our plan are present in
src/(pipeline, events, geometry, narrative, tracker, etc.). - Install deps:
pip install -r requirements.txt - Calibrate homography:
python -m src.calibrate_click --video demo/sample_video.mp4 --out demo/homography_points.json - Copy the resulting points into
config.yaml(homography section), or load the JSON in your pipeline. - Run:
python run.py --config config.yaml