tennis_match_tracking
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: VaibhavPandey-1221
- License: agpl-3.0
- Language: Python
- Default Branch: main
- Size: 30.8 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Tennis Ball Detection using YOLOv5 and Streamlit
This project demonstrates real-time tennis ball and player detection from video input using a custom-trained YOLOv5 model. The application is built with Streamlit for an interactive user interface.
Features
- Upload video files for processing
- Displays the progress of object detection
- Shows output video with tennis ball and player detection after processing
Setup Instructions
1. Clone the Repository
bash
git clone <repository-url>
cd yolov5
2. Install Dependencies
Make sure you have Python installed. Then, install the required libraries:
bash
pip install -r requirements.txt
3. Model Setup
Place the custom-trained YOLOv5 model file in the yolov5/runs/exp/weights/best.pt.
4. Run the Application Locally
Run the following command in the yolov5 directory:
bash
streamlit run app.py
File Structure
yolov5/
├── app.py # Streamlit application file
├── runs/
│ └── exp/
│ └── weights/
│ └── best.pt # Trained YOLOv5 model weights
└── data/ # Contains video input files
Usage
- Launch the Streamlit application.
- Upload a video file in
.mp4format. - Wait for the detection to process; the completion percentage will be displayed.
- After processing, view the output video with detections highlighted.
Example
Upload a sample tennis match video to detect player movements and tennis ball positions, using real-time updates for progress.
Dependencies
- Streamlit
- PyTorch
- OpenCV
- YOLOv5
Owner
- Login: VaibhavPandey-1221
- Kind: user
- Repositories: 1
- Profile: https://github.com/VaibhavPandey-1221
Citation (CITATION.cff)
cff-version: 1.2.0
preferred-citation:
type: software
message: If you use YOLOv5, please cite it as below.
authors:
- family-names: Jocher
given-names: Glenn
orcid: "https://orcid.org/0000-0001-5950-6979"
title: "YOLOv5 by Ultralytics"
version: 7.0
doi: 10.5281/zenodo.3908559
date-released: 2020-5-29
license: AGPL-3.0
url: "https://github.com/ultralytics/yolov5"
GitHub Events
Total
- Push event: 34
- Create event: 2
Last Year
- Push event: 34
- Create event: 2