This repository contains code for a Multi-Object Detection application built using the YOLOv8 model for real-time object detection. The application is hosted on Streamlit, providing an interactive and easy-to-use interface for detecting multiple objects in images and videos.
The model is trained to detect various objects like vehicles, pedestrians, and animals, and can handle various input formats, including single images and video streams. This project leverages the Ultralytics YOLOv8 implementation, which provides state-of-the-art performance for object detection tasks.
You can try out the demo application hosted on Streamlit. Access it here.
To run the project locally, follow these steps:
pip install -r requirements.txt
torch: PyTorch for model training and inference.ultralytics: YOLOv8 model implementation by Ultralytics.streamlit: For building the web interface.tabulate: For displaying model parameters and structure in tabular format.git clone https://github.com/your-username/multi-object-detection.git
cd multi-object-detection
streamlit run app.py
This will start a local server. Open your browser and visit http://localhost:8501 to interact with the app.
Once the Streamlit app is running, you can upload an image or video file for object detection. The app will display the results, including:
You can also check out the model parameters and structure by clicking on the Model Info button in the interface.
The project uses YOLOv8, a state-of-the-art object detection model. The key features of YOLOv8 include:
Feel free to fork the repository and contribute improvements or fixes. If you encounter any issues, please open an issue in the GitHub repository. Contributions are welcome, and please adhere to the following guidelines:
git checkout -b feature-name).git commit -am 'Add new feature').git push origin feature-name).This project is licensed under the MIT License - see the LICENSE file for details.