Giter VIP home page Giter VIP logo

yolo-real-time-object-detection's Introduction

YOLO Real Time Object Detection

This project implements a real time object detection via video, webcam and image detection using YOLO algorithm. YOLO is a object detection algorithm which stand for You Only Look Once. I've implemented the algorithm from scratch in Python using pre-trained weights. YOLOv3 was published in research paper: YOLOv3: An Incremental Improvement: Joseph Redmon, Ali Farhadi It's originally implemented in YOLOv3.

COCO dataset is used for training.

Real time detection can be use via command prompt or GUI.

A USA Real-Time Road Detection
A UK Real-Time Road Detection
A Real-Time Webcam Detection

Yolo is a deep learning algorythm which came out on may 2016 and it became quickly so popular because it’s so fast compared with the previous deep learning algorythm. With yolo we can detect real time objects at a relatively high speed. With a GPU we would be able to process over 45 frames/second while with a CPU around a frame per second.

OpenCV dnn module supports running inference on pre-trained deep learning models from popular frameworks like Caffe, Torch and TensorFlow.

Requirement

  • OpenCV 4.2.0
  • Python 3.6

Quick start

Dependencies

  • opencv
  • numpy

Install dependencies

pip install numpy opencv-python

How to use?

  1. Clone the repository
  2. git clone https://github.com/muhammadshiraz/YOLO-Real-Time-Object-Detection.git

  1. Move to the directory
  2. cd YOLO-Real-Time-Object-Detection

  1. To view the UK Real-Time Road Detection
  2. python real_time_yolo_detector1.py

  1. To view the USA Real-Time Road Detection
  2. python real_time_yolo_detector2.py

  1. To use in real-time on webcam
  2. python real_time_yolo_webcam.py

Graphical User Interface:

A USA Real-Time Road Detection

A UK Real-Time Road Detection

A Real-Time Webcam Detection

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.