Skip to content
← Back to projects

GameTape

Live

An end-to-end sports production platform with real-time scoring, live streaming, content generation pipelines, and computer vision — expanded into a multi-tenant SaaS supporting 5 sports.

Visit site →

What I built

GameTape is a real-time sports production platform I built end-to-end. The production system handles live game scoring through a WebSocket-connected scorer interface that broadcasts to spectators in real time, with smart alerts for hot shooting streaks, scoring milestones, double-doubles, and big runs. OBS browser sources render four overlay modes (scorebug, pregame, halftime, postgame) directly onto the livestream.

Post-game, automated pipelines generate 1080x1080 stat card PNGs via headless Playwright and cut highlight clips from timestamped bookmarks using FFmpeg. A computer vision pipeline runs YOLOv8 player detection with centroid tracking and court perspective calibration to compute per-player distance traveled, speed, time in zone, and heatmap data — with a human-in-the-loop review step for track assignment.

The platform also includes a prediction system with auto-generated questions and a leaderboard, tournament bracket management, player profiles with career highs, season leaderboards across 8 categories, and privacy-safe analytics with no cookies. Deployed it at a live championship game with 7+ teams and 62+ players.

I then rewrote the architecture into a multi-tenant SaaS with subdomain-based org isolation, per-user auth with role-based access control, and a dual scoring engine — event-based for traditional sports (basketball, soccer) and match-based for esports (Clash Royale, Valorant, Rocket League). From the business side, I set-up the LLC, formulated consent forms, contributor and developer agreements with confirmed IP ownership.

Tech stack

FastAPI (Python async backend)SQLite (aiosqlite, WAL mode)WebSocket (real-time scoring + spectator sync)Jinja2 + Tailwind CSS (server-rendered UI)Playwright (headless stat card generation, 1080x1080 PNG)FFmpeg (bookmark-based highlight clip extraction)YOLOv8 + OpenCV (player detection + court tracking)OBS + YouTube Live (streaming with score overlays)ElevenLabs (AI voice commentary)Cloudflare (DNS, WAF, SSL)Railway (Docker deployment)

Key stats

Real-time scoring and spectator sync via WebSocket
Content pipelines: stat cards, highlight clips, CV tracking
Multi-tenant SaaS with a 5-sport scoring engine
Computer vision: player detection, tracking, heatmaps
2k monthly visitors. LLC, IP agreements, contributor consents.