File size: 932 Bytes
ac75db0 73a6add 4054ac6 83ec86c 4054ac6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
---
license: apache-2.0
base_model:
- Ultralytics/YOLOv8
pipeline_tag: object-detection
tags:
- ultralytics
- yolov8
library_name: ultralytics
---
# Tennis Ball Detection with YOLOv8
This repository contains a YOLOv8n model fine-tuned specifically to detect tennis balls.
## Project Overview
The goal is to accurately detect and localize tennis balls in images and video streams using the YOLOv8 object detection framework.
## Requirements
* Python 3.8+
* Ultralytics YOLOv8
* PyTorch
* OpenCV
## Installation
Install dependencies with:
```bash
pip install ultralytics opencv-python
```
## Usage
### Detect tennis balls in an image:
```bash
yolo task=detect mode=predict model=tennisball.pt source=your_image.jpg
```
### Detect tennis balls in video/webcam:
```bash
yolo task=detect mode=predict model=tennisball.pt source=0 # webcam
```
## License
This project is open-source under the Apache License 2.0 License.
|