How redback-operations/redback-orion works
Project Orion turns uploaded AFL match footage into player-tracking and crowd-safety analytics, which users review in a web app. The documented path is upload, backend job orchestration, analysis by player and crowd services, persisted results, and presentation. Crowd analysis has distinct video preparation, detection, density/heatmap, behaviour, safety-risk, and aggregation stages. The graph combines README-level system wiring with source-index and excerpt evidence for selected internal calls; unsampled implementation links are omitted where their ownership is not shown.
Main entry points: crowd_pipeline_service.py Crowd pipeline · job_manager.py Job orchestration · crowd_analytics_service.py Crowd analytics dispatch · App.jsx Web app
Components 21
Web experience
- Web app
frontend/src/App.jsx - Video upload
frontend/src/services/uploadService.js
Backend services
- Backend API
backend/app/main.py - Job orchestration
backend/app/services/job_manager.py - Job results store
backend/app/database.py - Player service client
backend/app/services/player_client.py - Crowd service client
backend/app/services/crowd_client.py
Player analysis
- Player analysis API
player_tracking/player_service/main.py - Tracking and analytics
player_tracking/analysis_pipeline/run_pipeline.py
Crowd analysis
- Crowd service API
crowd_monitoring/shared/services/main.py - Crowd pipeline
crowd_monitoring/shared/services/crowd_pipeline_service.py - Video preparation
crowd_monitoring/video_processing/main.py - People detection
crowd_monitoring/crowd_detection/main.py
Crowd results
- Density zoning
crowd_monitoring/density_zoning/main.py - Crowd heatmap
crowd_monitoring/heatmap/main.py - Behaviour analytics
crowd_monitoring/crowd_behaviour_analytics/main.py - Allocation risk
crowd_monitoring/crowd_allocation_risk_zone/main.py - Fire and stampede
crowd_monitoring/shared/crowd_safety_detection_service.py - Result aggregation
crowd_monitoring/data_aggregation/main.py - Crowd analytics dispatch
crowd_monitoring/shared/services/crowd_analytics_service.py
Other components
- Coach or analyst
Connections 21
- Coach or analyst → Web app: uses
README.md - Web app → Video upload: uploads video
frontend/src/App.jsx - Video upload → Backend API: sends video
README.md - Backend API → Job orchestration: manages jobs
- Job orchestration → Job results store: reads and writes
backend/app/services/job_manager.py - Job orchestration → Player service client: requests analysis
backend/app/services/job_manager.py - Job orchestration → Crowd service client: requests analysis
backend/app/services/job_manager.py - Player service client → Player analysis API: calls service
README.md - Player analysis API → Tracking and analytics: runs pipeline
- Crowd service client → Crowd service API: calls service
README.md - Crowd service API → Crowd pipeline: dispatches pipeline
- Crowd pipeline → Video preparation: prepares video
crowd_monitoring/shared/services/crowd_pipeline_service.py - Crowd pipeline → People detection: runs detection
crowd_monitoring/shared/services/crowd_pipeline_service.py - Crowd pipeline → Crowd analytics dispatch: runs analytics
crowd_monitoring/shared/services/crowd_pipeline_service.py - Crowd analytics dispatch → Density zoning: calculates density
crowd_monitoring/shared/services/crowd_analytics_service.py - Crowd analytics dispatch → Crowd heatmap: generates heatmap
crowd_monitoring/shared/services/crowd_analytics_service.py - Crowd pipeline → Behaviour analytics: analyzes behaviour
crowd_monitoring/shared/services/crowd_pipeline_service.py - Crowd pipeline → Allocation risk: assesses risk
crowd_monitoring/shared/services/crowd_pipeline_service.py - Crowd pipeline → Fire and stampede: checks safety
crowd_monitoring/shared/services/crowd_pipeline_service.py - Crowd pipeline → Result aggregation: aggregates results
crowd_monitoring/shared/services/crowd_pipeline_service.py - Job orchestration → Web app: returns results
README.md