feat: add DISTANCE mode with traces and leaderboard (PR 4) - #63
Open
AlexBodner wants to merge 5 commits into
Open
feat: add DISTANCE mode with traces and leaderboard (PR 4)#63AlexBodner wants to merge 5 commits into
AlexBodner wants to merge 5 commits into
Conversation
AlexBodner
force-pushed
the
feat/soccer-pr4-distance
branch
5 times, most recently
from
July 15, 2026 17:27
1596441 to
6792f90
Compare
This was referenced Jul 15, 2026
AlexBodner
marked this pull request as ready for review
July 17, 2026 02:40
Integrate distance via gated homography on VideoTrackingSession.tracks while reusing gap-filled speed badges and minimap traces from PR3. Co-authored-by: Cursor <cursoragent@cursor.com>
Share _render_speed_distance_traces in distance.py with focus_tid and append_end_card hooks, plus spotlight helpers and only_tid speed filtering, so PR5 adds wiring only. Co-authored-by: Cursor <cursoragent@cursor.com>
Shared renderer accepts show_speed; SPEED_AND_DISTANCE wiring in PR5 uses show_speed=True. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
AlexBodner
force-pushed
the
feat/soccer-pr4-distance
branch
from
July 21, 2026 17:04
6792f90 to
b4f0709
Compare
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
DISTANCEmode: direction dots + cumulative meters + trace minimap + distance leaderboard end-card (no m/s badges).VideoTrackingSession.tracks._render_speed_distance_traces(..., show_speed=)for PR5 reuse.Demo
DISTANCEon08fd33_0.mp4(full-clip render, truncated preview):All demos
Scope
In:
distance.py, kinematics distance APIs, trace/end-card annotators,Mode.DISTANCEOut: combo/ALL wiring (PR5), goal shading draw (PR6)
Test plan
python main.py ... --mode DISTANCE --tracker bytetrack