Giter Site home page Giter Site logo

live_object_detection's Introduction

Project Title: Real-time Object Detection using YOLO and OpenCV

Description

This project is about implementing a real-time object detection system using the YOLO (You Only Look Once) model trained on the IP102 dataset. The model was initialized with random weights and then trained on the dataset using a Jupyter notebook. The trained model was then used to perform object detection on live camera feed using OpenCV in a Python script.

Dataset

The model was trained on the IP102 dataset, a large scale benchmark dataset for insect pest recognition. It is a comprehensive dataset that includes 75,000 images, covering 102 insect pest species.

Model

The object detection model used in this project is YOLO (You Only Look Once), a popular object detection algorithm known for its speed and accuracy. The model was initialized with random weights before training.

Dependencies

  • Python 3.6 or later
  • OpenCV
  • Ultralytics (YOLO)
  • Jupyter Notebook

Setup & Installation

  1. Clone the repository.
  2. Install the dependencies using pip:
    pip install -r requirements.txt
    
  3. Download the IP102 dataset and place it in the 'data' directory.
  4. Run the Jupyter notebook to train the YOLO model on the IP102 dataset.

Usage

After training the model, you can run the object detection script on your live camera feed:

python detect.py

Results

The trained model was able to successfully detect objects in real-time on a live camera feed. The detection results were displayed using OpenCV.

Future Work

  • Improve the model's accuracy by fine-tuning the hyperparameters.
  • Test the model on different datasets.
  • Implement additional features such as tracking.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • The YOLO model was used for object detection.
  • The IP102 dataset was used for training the model.
  • OpenCV was used for handling video input and displaying the detection results.

live_object_detection's People

Contributors

kishore-fdi avatar

Stargazers

 avatar Karthick.exe avatar Sherma Thangam S avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.