Code Monkey home page Code Monkey logo

object-detection-from-cctv's Introduction

Object detection from live cctv video [check one frame every second to save resources]

The project developed using TensorFlow to detect the no of objects every second entering building gate. work in progress

Python Packages Needed

  • Tensorflow
  • openCV
  • you must have pip and python pre installed if not install them first.

Installation instructions

# For CPU
pip install tensorflow
# For GPU
pip install tensorflow-gpu

For Ubuntu

sudo apt-get install protobuf-compiler

For OSX

brew install protobuf

Other Libraries

pip install opencv-python

Tensorflow object detection API

protoc utils/*.proto --python_out=.

Running

If you want to test out the implementation then you can use the person_detection_every_sec.py which is working on pre recorded video

python person_detection_every_sec.py

To run the server

python server.py

Instruction to plot bounding boxes

As per the original implementation of the tensorflow object detection API, the bounding boxes are normalised. To get the original dimensions you need to do the following.

(left, right, top, bottom) = (xmin * im_width, xmax * im_width,
                              ymin * im_height, ymax * im_height)
  • Download and use, no license needed*

object-detection-from-cctv's People

Contributors

pushprajkatiyar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

adilah-arifin

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.