Giter Site home page Giter Site logo

jalajthanaki / real_time_object_detection Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 4.0 47.86 MB

This repository contains the code for real-time object detection. I'm using video stream coming from webcam. MobileNet-SSD and OpenCv has been used as base-line approach. TensorFlow object detection API has been used in revised approach.

Python 99.18% Jupyter Notebook 0.82%
deep-learning computer-vision objectdetection real-time-object-detection opencv

real_time_object_detection's Introduction

Real time object detection

Overview

This repository contains the code for real time object detection.

There is two approach given here.

  1. Base line or basic approach
  2. revised approach

Dependencies and installation

For base line approach there are following libraries which are needed.

  • imutils: $ sudo pip install imutils
  • Install computervision or CV2 from here
  • time - default library of python
  • numpy - $ sudo pip install numpy

For revised approach there are following libraries which are needed.

  • os - default library of python
  • Install computervision or CV2 from here
  • time - default library of python
  • argparse - default library of python
  • multiprocessing - default library of python
  • numpy $ sudo pip install numpy
  • tensorflow - You can refer this link

Usage

Run base line approach using following execution steps.

1. Go to the base_line_model folder.
    $ cd ./base_line_model
2. To run the script execute following command.
    $ python object_detection_app.py

Run revised approach using following execution steps.

1. Go to the revised_approach folder.
    $ cd ./revised_approach
2. To run the script execute following command.
    $ python real_time_object_detection.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel 

Credit

The credit of this code goes to Dat Tran and the blogs provided on Pyimagesearch site. I've merely created a wrapper to get people started.

real_time_object_detection's People

Contributors

jalajthanaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.