pushprajkatiyar
person_detection_from_cctv_video
Python

detect the no of people every second entering building gate. #person-detection

Last updated Dec 31, 2025
47
Stars
18
Forks
0
Issues
0
Stars/day
Attention Score
29
Language breakdown
Python 100.0%
Files click to expand
README

Person detection from live cctv video per second

The project developed using TensorFlow to detect the no of people 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

bash

For CPU

pip install tensorflow

For GPU

pip install tensorflow-gpu
For Ubuntu
bash
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 persondetectionevery_sec.py which is working on pre recorded video
python persondetectionevery_sec.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  imwidth, xmax  imwidth,
                              ymin  imheight, ymax  imheight)
Download and use, no license needed
🔗 More in this category

© 2026 GitRepoTrend · pushprajkatiyar/person_detection_from_cctv_video · Updated daily from GitHub