GrandSlamVision is a cutting-edge computer vision project that leverages the YOLO (You Only Look Once) algorithm to detect and track tennis balls πΎ and players πββοΈ in real-time. This project aims to provide accurate and efficient detection for various applications such as sports analytics π, automated refereeing βοΈ, and player performance analysis π.
- Real-time detection of tennis balls πΎ and players πββοΈ
- High accuracy and efficiency using the YOLO algorithm π
- Easy integration with video feeds πΉ and camera systems π·
- Customizable for different tennis court environments πΎ
- Ball detector: β Yes
- Player detector: β Yes
- Keypoint detector: β Yes
- Ball speed: π§ Planned
- Player run distance and average speed: π§ Planned*
- Clone the repository:
git clone https://github.com/yourusername/tennis-yolo.git
- Navigate to the project directory:
cd tennis-yolo - Install the required dependencies:
pip install -r requirements.txt
We welcome contributions to improve Tennis YOLO. Please fork the repository and submit a pull request with your changes. Ensure that your code follows the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.
- The YOLO algorithm by Joseph Redmon and Ali Farhadi
- OpenCV for computer vision functionalities
- PyTorch for deep learning support
GrandSlamVision/
βββ data/ # Dataset and configuration files
βββ models/ # Pre-trained models and weights
βββ output/ # Output images and videos
βββ utils/ # Utility scripts and helper functions
βββ detect.py # Main detection script
βββ requirements.txt # List of dependencies
βββ README.md # Project documentation
βββ LICENSE # License file