This project focuses on detecting the different phases of a basketball shot using computer vision techniques.
- Free Throws: How to Shoot Free Throws: Perfect Your Form & Shot
- Shoot Analysis: Basketball 101: Free Throws
-
Preparation: The player prepares to take the shot.
- Focus on the target.
- Grip the ball properly.
- Align the body.
-
Position: The player gets into the correct stance and position.
- Feet should be shoulder-width apart.
- Knees slightly bent.
- Body balanced.
-
Release: The ball is released from the player's hands.
- Use a smooth motion.
- Extend the shooting arm.
- Snap the wrist.
-
Follow-through: The player's hands follow through after releasing the ball.
Be careful not to twist your wrist as you snap it forward, or else the ball may angle away from the hoop.
- Maintain balance.
- Keep eyes on the target.
- Hold the follow-through position.
- Data Collection: Collect videos of basketball shots.
- Annotation: Use Roboflow to annotate the different phases in the videos.
- Training: Train the YOLOv8 model with the annotated data.
- Evaluation: Evaluate the model's performance on a test dataset.
- Deployment: Deploy the model for real-time phase detection.
chmod +x development.sh
./development.sh