Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4f951c0
radar working on videos
AlexBodner May 22, 2025
f58e691
fix in keypoint filtering and added features
AlexBodner May 23, 2025
f3c234c
small updates
SkalskiP May 24, 2025
cb540c7
small updates
SkalskiP May 24, 2025
4a8f34e
make three point arc thickness configurable
SkalskiP May 24, 2025
08ce16f
make three point arc thickness configurable
SkalskiP May 24, 2025
03ea8ca
Merge remote-tracking branch 'origin/feat/basketball_radar' into feat…
SkalskiP May 24, 2025
de6af3b
small bug fix
SkalskiP May 24, 2025
dc92d8d
test updated `BasketballCourtConfiguration`
SkalskiP May 24, 2025
c3d3dcd
test updated `BasketballCourtConfiguration`
SkalskiP May 24, 2025
43a4eb0
test updated `BasketballCourtConfiguration`
SkalskiP May 24, 2025
17e08cc
test fixed 3 point line drawing
SkalskiP May 25, 2025
e73e3a3
updated basketball court viz
SkalskiP May 26, 2025
7177363
scale parameter changed from draw_points_on_pitch in order to match w…
AlexBodner May 26, 2025
d33031f
basketball support ready for tests
SkalskiP Aug 13, 2025
b50edeb
delete basketball example for now
SkalskiP Aug 13, 2025
0d77f3e
reorganize stuff
SkalskiP Aug 13, 2025
bb203fe
update `draw_made_and_miss_on_court` to make `made_xy` and `miss_xy` …
SkalskiP Aug 13, 2025
6f24687
update `draw_made_and_miss_on_court` to make `made_xy` and `miss_xy` …
SkalskiP Nov 6, 2025
c468fb8
make `TeamClassifier` part of public API
SkalskiP Nov 6, 2025
07add63
move `ConsecutiveValueTracker`
SkalskiP Nov 6, 2025
4157513
added `clean_paths` and `draw_paths_on_court`
SkalskiP Nov 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions sports/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import importlib.metadata as importlib_metadata

try:
# This will read version from pyproject.toml
__version__ = importlib_metadata.version(__package__ or __name__)
except importlib_metadata.PackageNotFoundError:
__version__ = "development"


from sports.common.core import MeasurementUnit
from sports.common.view import ViewTransformer
from sports.common.team import TeamClassifier
from sports.common.temporal import ConsecutiveValueTracker
from sports.common.path import clean_paths

__all__ = [
"clean_paths",
"ConsecutiveValueTracker",
"MeasurementUnit",
"TeamClassifier",
"ViewTransformer"
]
16 changes: 16 additions & 0 deletions sports/basketball/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from sports.basketball.annotators import draw_court, draw_made_and_miss_on_court, \
draw_points_on_court, draw_paths_on_court
from sports.basketball.config import CourtConfiguration, League
from sports.basketball.tools import ShotType, ShotEvent, ShotEventTracker

__all__ = [
"CourtConfiguration",
"League",
"draw_court",
"draw_made_and_miss_on_court",
"draw_points_on_court",
"draw_paths_on_court",
"ShotType",
"ShotEvent",
"ShotEventTracker"
]
Loading