Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

detect objects from cctv camera

NotificationsYou must be signed in to change notification settings

pushprajkatiyar/object-detection-from-cctv

Repository files navigation

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 CPUpip install tensorflow# For GPUpip 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*

[8]ページ先頭

©2009-2025 Movatter.jp