Backend: integrate player & crowd services with full pipeline#132
Open
TOMINJOSE88 wants to merge 55 commits into
Open
Backend: integrate player & crowd services with full pipeline#132TOMINJOSE88 wants to merge 55 commits into
TOMINJOSE88 wants to merge 55 commits into
Conversation
Player tracking Ethan
…eline-integration-shafqat First commit
…into Player-Tracking
…r_handling-clean Route error handlings in backend
Replaces placeholder content with full setup guide covering prerequisites, .env config, database setup, gateway run command, mock toggle explanation, all API endpoints, crowd service run steps, and test instructions. Also updates BACKEND_PLAN.txt progress tracker to reflect current Phase 3 status.
…/redback-orion into backend-api-gateway
Replaced await db.execute/commit/close with sync equivalents to match the sync SQLAlchemy engine in database.py. Also removed unused sqlalchemy select import.
Updated architecture overview diagram in README.
…nalised About Finalised + First Integration Checklist
feat: store access_token and refresh_token on login, add getAuthHeade…
Backend api gateway
…into player-tracking-pipeline-integration-shafqat
…gration-shafqat Merging Player tracking pipeline integration shafqat
Add Ethan Labelling and Player Tracking Pipelines
…back-orion into Player-Tracking
…dect' into Player-Tracking
…/redback-orion into backend-api-gateway
- Fix Dockerfile: Python 3.11, create uploads dir with correct ownership, use exec CMD form - Rewrite compose.yaml: wire up Postgres with healthcheck, env vars, shared uploads volume, player/crowd service stubs - Update .dockerignore: exclude uploads/ folder from build context - Add async lifespan startup event to auto-create DB tables on container start
Update player service backend integration
Merging Player tracking branch to Main branch
Update player service backend integration
- Include the overfitted yolo model serving the solve purpose of experimental analysis in the early stage - Update a tracker testing file to implement and test different tracker performance
…isualization to display the output image
Player tracking
Revise architecture diagram in README.md
- Connect backend gateway to real player service (port 8080) and crowd service (port 8002) - Build full video processing pipeline: tracking -> jersey color, formation, tackle, crowd in parallel - Add player_service wrapper with FastAPI routes for all player endpoints - Store all results in PostgreSQL; return full URLs in job responses for direct frontend use - Fix auth to use HTTPBearer, fix datetime timezone issues, fix UUID serialization - Add dual sync/async database engine setup for FastAPI compatibility - Add CORS to crowd service; all three services now allow localhost:3000 - Add start_all.ps1 to start all services from project root - Update API_CONTRACT.md to v1.3.0 with real schemas, Quick Start JS example - Rewrite README with full from-scratch setup guide and troubleshooting steps
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary