How mende237/pedestrian-tracking-yaounde works
This is a video-based pedestrian tracking and trajectory-analysis pipeline for Yaoundé footage, with comparison to ETH/UCY benchmarks. The main workflow is to run tracking over recordings, calculate speeds and merge trajectories, then visualize interactions or compare motion statistics. Tracking, extraction, and orchestration are excerpted; visualization and comparison are also excerpted. The README documents the pipeline’s outputs and use, but source excerpts do not show how tracking produces its annotated video beyond the tracking implementation itself.
Main entry points: run_all.py Batch orchestrator · track.py Detection and tracking · compare_eth_ucy.py Benchmark comparison · extract_traj.py Speed extraction
Components 14
Tracking pipeline
- Batch orchestrator
src/run_all.py - Detection and tracking
src/track.py - Per-video trajectories
- Speed extraction
src/extract_traj.py - Merged trajectories
src/run_all.py
Trajectory analysis
- Conflict-zone analysis
src/visualize_interactions.py
Visual outputs
- Trajectory visualizations
src/visualize.py - Annotated tracking video
- Tracking GIF
src/make_gif.py
Benchmark comparison
- ETH/UCY annotations
- Benchmark comparison
src/compare_eth_ucy.py - Comparison results
src/compare_eth_ucy.py
Other components
- Researcher
- Input videos
Connections 15
- Researcher → Batch orchestrator: runs pipeline
README.md - Input videos → Batch orchestrator: selects recordings
README.md - Batch orchestrator → Detection and tracking: runs tracking
src/run_all.py - Detection and tracking → Per-video trajectories: writes detections
src/track.py - Batch orchestrator → Speed extraction: computes speeds
src/run_all.py - Per-video trajectories → Speed extraction: reads trajectories
README.md - Batch orchestrator → Merged trajectories: merges recordings
src/run_all.py - Per-video trajectories → Merged trajectories: reads CSVs
src/run_all.py - Merged trajectories → Trajectory visualizations: plots trajectories
README.md - Merged trajectories → Conflict-zone analysis: plots interactions
README.md - Merged trajectories → Benchmark comparison: compares Yaoundé
README.md - ETH/UCY annotations → Benchmark comparison: loads annotations
src/compare_eth_ucy.py - Benchmark comparison → Comparison results: writes summary
src/compare_eth_ucy.py - Detection and tracking → Annotated tracking video: saves video
src/track.py - Annotated tracking video → Tracking GIF: samples frames
README.md