datascientist22
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -10,3 +10,61 @@ pinned: false
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
# π YOLOv8 Object Detection on Video
|
14 |
+
|
15 |
+
This Streamlit app allows you to upload a video file and perform object detection using the YOLOv8 model. The app processes the video, detects objects, and provides a downloadable version of the video with bounding boxes around detected objects.
|
16 |
+
|
17 |
+
## π Live Demo
|
18 |
+
|
19 |
+
Check out the live demo of the app on Hugging Face Spaces:
|
20 |
+
|
21 |
+
π [YOLOv8 Object Detection App on Hugging Face](https://huggingface.co/spaces/datascientist22/object-detection-chatbot)
|
22 |
+
|
23 |
+
## π GitHub Repository
|
24 |
+
|
25 |
+
You can find the source code for this project on GitHub:
|
26 |
+
|
27 |
+
π [GitHub Repository](https://github.com/mldatascientist23/Generative_AI_Projects)
|
28 |
+
|
29 |
+
## π Features
|
30 |
+
|
31 |
+
- **Upload Video**: Upload your video file in MP4, AVI, or MOV format.
|
32 |
+
- **Object Detection**: Detects objects in the video using the YOLOv8 model.
|
33 |
+
- **Processed Video Download**: Download the processed video with bounding boxes around detected objects.
|
34 |
+
|
35 |
+
## π How to Use
|
36 |
+
|
37 |
+
1. **Upload a Video**: Use the sidebar to upload a video file.
|
38 |
+
2. **Process the Video**: Click on the "Submit" button to start processing the video.
|
39 |
+
3. **Download the Result**: Once the processing is complete, download the processed video using the "Download Processed Video" button.
|
40 |
+
|
41 |
+
## π οΈ Installation
|
42 |
+
|
43 |
+
To run the app locally, follow these steps:
|
44 |
+
|
45 |
+
1. Clone the repository:
|
46 |
+
```bash
|
47 |
+
git clone https://github.com/mldatascientist23/Generative_AI_Projects.git
|
48 |
+
cd Generative_AI_Projects/YOLOv8_Object_Detection
|
49 |
+
```
|
50 |
+
|
51 |
+
2. Install the required packages:
|
52 |
+
```bash
|
53 |
+
pip install -r requirements.txt
|
54 |
+
```
|
55 |
+
|
56 |
+
3. Run the Streamlit app:
|
57 |
+
```bash
|
58 |
+
streamlit run app.py
|
59 |
+
```
|
60 |
+
|
61 |
+
## π¦ Requirements
|
62 |
+
|
63 |
+
- `streamlit`
|
64 |
+
- `opencv-python-headless`
|
65 |
+
- `ultralytics`
|
66 |
+
- `numpy`
|
67 |
+
|
68 |
+
## π§βπ» Created By
|
69 |
+
|
70 |
+
This app was created by [Engr. Hamesh Raj](https://www.linkedin.com/in/datascientisthameshraj/). Feel free to connect with me on LinkedIn!
|