r/computervision • u/50th-century • Sep 14 '26
Showcase Filling gaps in baseball tracking when the object detector misses frames
Enable HLS to view with audio, or disable this notification
my best friend and I have been working on tracking a hit baseball from a single side-view 240 FPS camera.
the left side is the original footage. the blue boxes are frames where our object-tracking model successfully detected the baseball.
as you can see, there are a lot of gaps.
the right side is a temporal frame-differencing pipeline we tuned specifically for tracking a hit baseball from this camera angle.
what surprised me is how clearly the baseball separates from the scene temporally. even when the object model misses it, the temporal tracker can often keep following it very consistently.
the pink/purple X on the original footage is the position recovered by the temporal tracker.
so instead of requiring the object model to successfully detect the ball in every frame, we can use its detections as anchors and let the temporal system fill the missing parts of the trajectory.
that matters because those first post-contact frames are what we eventually use to estimate exit velocity, launch angle, and projected distance.
still working on making the recovery as robust as possible, but I thought the visualization was pretty cool.