A newer version of the Streamlit SDK is available:
1.45.1
title: Object Detection Chatbot
emoji: π’
colorFrom: blue
colorTo: gray
sdk: streamlit
sdk_version: 1.38.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
π YOLOv8 Object Detection on Video
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.
π Live Demo
Check out the live demo of the app on Hugging Face Spaces:
π YOLOv8 Object Detection App on Hugging Face
π GitHub Repository
You can find the source code for this project on GitHub:
π GitHub Repository
π Features
- Upload Video: Upload your video file in MP4, AVI, or MOV format.
- Object Detection: Detects objects in the video using the YOLOv8 model.
- Processed Video Download: Download the processed video with bounding boxes around detected objects.
π How to Use
- Upload a Video: Use the sidebar to upload a video file.
- Process the Video: Click on the "Submit" button to start processing the video.
- Download the Result: Once the processing is complete, download the processed video using the "Download Processed Video" button.
π οΈ Installation
To run the app locally, follow these steps:
Clone the repository:
git clone https://github.com/mldatascientist23/Generative_AI_Projects.git cd Generative_AI_Projects/YOLOv8_Object_Detection
Install the required packages:
pip install -r requirements.txt
Run the Streamlit app:
streamlit run app.py
π¦ Requirements
streamlit
opencv-python-headless
ultralytics
numpy
π§βπ» Created By
This app was created by Engr. Hamesh Raj. Feel free to connect with me on LinkedIn!