Volleybot
github.com/rextlfung/volleybot
Automatic volleyball video editing toolkit. Detects rallies in fixed-angle amateur footage and cuts out the dead time between points, turning a full game recording into a highlight reel of serves, rallies, and kills.
- Detects the volleyball in each frame using a YOLOv8 model fine-tuned on ~500 labeled frames from 3 different gyms, beating a pretrained YOLOv8x baseline by +17pp detection rate while running 6x faster
- Segments the video into rally windows with a detection state machine, refined by a frame-level live/dead classifier for precise rally boundaries
- Cuts and concatenates each rally into a single highlight reel using ffmpeg
Ball tracking
The fine-tuned YOLOv8 detector locating the volleyball frame-by-frame in fixed-angle gym footage.
Live vs. dead play discrimination
The frame-level classifier telling live rally play (green) apart from dead time (red) — this signal drives which parts of the game footage get kept in the highlight reel.
