Home / Companies / Roboflow / Blog / Post Details
Content Deep Dive

How to Build an AI Basketball Shot Evaluator

Blog post from Roboflow

Post Details
Company
Date Published
Author
Aarnav Shah
Word Count
1,719
Company Posts That Month
34
Language
English
Hacker News Points
-
Post removed?
No
Summary

Aarnav Shah describes a local, computer-vision-based basketball shot tracker that analyzes video to record makes and misses alongside release velocity, trajectory arc, release height, body positioning, and joint angles. The system combines a custom RF-DETR-small detector trained to identify basketballs and rims with a zero-shot RF-DETR keypoint model for tracking a shooter’s posture, then uses a stateful rules engine and physics-based calculations to detect releases, project trajectories, classify shot outcomes, and produce annotated video and JSON event logs. Physical measurements are calibrated from the known 18-inch rim diameter, while false shot detections are reduced by requiring the ball to separate from the wrist and follow an arc toward the hoop. The project addresses practical video challenges such as net occlusion, rim bounces, and ambiguous single-camera perspectives by analyzing post-rim ball speed, identifying rattled outcomes, and flagging uncertain calls. Available through a GitHub repository and optional FastAPI dashboard, the tracker runs on a laptop without ongoing cloud costs, although its accuracy remains limited by two-dimensional camera views and could be improved with a custom rim-keypoint model.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.