RJTPP commited on
Commit
4054ac6
·
verified ·
1 Parent(s): 3238501

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -7,4 +7,45 @@ tags:
7
  - ultralytics
8
  - yolov8
9
  library_name: ultralytics
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  - ultralytics
8
  - yolov8
9
  library_name: ultralytics
10
+ ---
11
+
12
+ # Tennis Ball Detection with YOLOv8
13
+
14
+ This repository contains a YOLOv8 model fine-tuned specifically to detect tennis balls.
15
+
16
+ ## Project Overview
17
+
18
+ The goal is to accurately detect and localize tennis balls in images and video streams using the YOLOv8 object detection framework.
19
+
20
+ ## Requirements
21
+
22
+ * Python 3.8+
23
+ * Ultralytics YOLOv8
24
+ * PyTorch
25
+ * OpenCV
26
+
27
+ ## Installation
28
+
29
+ Install dependencies with:
30
+
31
+ ```bash
32
+ pip install ultralytics opencv-python
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ### Detect tennis balls in an image:
38
+
39
+ ```bash
40
+ yolo task=detect mode=predict model=tennisball.pt source=your_image.jpg
41
+ ```
42
+
43
+ ### Detect tennis balls in video/webcam:
44
+
45
+ ```bash
46
+ yolo task=detect mode=predict model=tennisball.pt source=0 # webcam
47
+ ```
48
+
49
+ ## License
50
+
51
+ This project is open-source under the Apache License 2.0 License.