Skip to content

The use case of this project is to count the number of visitors who are heading in or out in a particular store/ building/ shopping mall/ class room in real-time.

Notifications You must be signed in to change notification settings

Jamshid-Ganiev/Surveillance-Cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counting-People-in-Real-Time-Using-OpenCV-Python-in-Raspberry-Pi3-modelB

The use case of this project is to count the number of visitors who are heading in or out in a particular store/ building/ shopping mall/ class room in real-time using Raspberry Pi Model B3.

This project is done as the final IoT project for "Iot Apllication System Class"(Professor: Vijay Kakani) by the 'GiGa' team consisted of 4 undergraduate students majoring in ISE(Integrated System Engineering) department. (Fall semester in 2022). image

Simple Theory

SSD detector:

  • We used a SSD (Single Shot Detector) with a MobileNet architecture in the project. Generally, it only takes a single shot to detect whatever is in an image.
  • Compared to other 2 shot detectors such as R-CNN, SSD is quite fast.

** Centroid tracker: **

Running the code in Raspberry Pi(worked well with Pi3 model B)

-Install all the required Python dependencies:

pip install -r requirements.txt

-Highly advised to install dependencies in python virtual Environment: -more on : '''https://docs.python.org/3/library/venv.html'''

-To run the code in real-time video , use the following command:

python start.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel

(works with both raspberry pi camera oo usb camera connected to raspberry pi.

Features

Real-time Alert via email address

  • sender's email address and password is changed in "mylib/mailer.py" and receiver's email address can be changed in "my_lib/config.py" easily.

Scheduler

  • Automatic scheduler to start the software. Configure to run at every second, minute, day, or Monday to Friday.

Timer

  • All you have to do is set your desired time and run the script. (inside start.py)

Automatic data saver

-saves all the date in ".csv" format in "mylib/log.csv" after the program ended.

Real-time Alert via SMS message || (main feature)

  • using Twilio API

References

About

The use case of this project is to count the number of visitors who are heading in or out in a particular store/ building/ shopping mall/ class room in real-time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages