datascientist22's picture
Update README.md
d1b0482 verified

A newer version of the Streamlit SDK is available: 1.45.1

Upgrade
metadata
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

  1. Upload a Video: Use the sidebar to upload a video file.
  2. Process the Video: Click on the "Submit" button to start processing the video.
  3. 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:

  1. Clone the repository:

    git clone https://github.com/mldatascientist23/Generative_AI_Projects.git
    cd Generative_AI_Projects/YOLOv8_Object_Detection
    
  2. Install the required packages:

    pip install -r requirements.txt
    
  3. 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!