This program is able to detect when a shot occurs and fill in the balls flight from captured data. It calculates the balls initial velocity and launch angle. It is able to estimate the balls flight perpedicular to the camera plane (The z axis) using a single camera. The program is also able to detect when the balls flight is interupted by another object and will drop those data points.
Tracking and analysis performed on
unstable video
Program output world coordinates:
Tracking and analysis performed on
shot interrupted by person
Program output world coordinates:
Tracking and analysis performed on
shot interrupted by object
shot angled with component perpendicular to the camera plane
Program output world coordinates:
Formats for representing video frame object bounding boxes detected
Object Line Format (OL) CSV file
Each object's bounding box in a video recoreded on an individual line
clip_ID
width
height
frame
category
score
x1
x2
y1
y2
model
int
int
int
int
string
float
int
int
int
int
string
Mock 1 Frame Line Format (FLM1) CSV file
Each frame is represented on an individual line capturing only the highest score bounding box of each category detected
All frames are represented exactly once
Designed for videos containing at maximum a single basketball and a single person
Nan values are used with the absence of a detected basketball or person in a frame
clip_ID
width
height
frame
x1_basketball
x2_basketball
y1_basketball
y2_basketball
x1_person
x2_person
y1_person
y2_person
Mock 1 Basketball Tracking Format (BTM1) CSV file
Each line is an individual frame and contains the centerpoint coordinates of the highest scoring basketball detected as well as the radius and "free" column
All frames are represented exactly once
The free column is True if the highest scoring basketballs bounding box has no overlap with the highest scoring persons bounding box
The radius is ((x2 - x1) + (y2 - y1))/2
Nan values are used with the absence of a detected basketball