Working demo video here
To ask doubts and staying in touch , join our gitter channel
- This is a security camera software which detects any intruder and alerts the owner .
- This is the basic prototype , we'll make it un-hack-able by using microphone and eliminating every possible hack to fool our software.
- Many issues are up-for-grabs. Check them out from issues tab.
Python 3.6
Opencv (cv2)
tutorial
We take a snapshot of the room , lets call this base.jpg
. Now , the code continuously scan the current frame and subtract it from base.jpg
.
If the difference is more than a threshold , we'll consider a breach happening.
- To run , simply copy the code in the
UltimateSecurityCam.py
and run it. - More formally , fork the code , and clone it your machine . I recommend that you use the GitH desktop app.
- If you need a python IDE , I recommend using pycharm. Tutorial to install : .
- If you get an error , make sure all the import statements are working , if not , install using pip-install tutorial
- Open up StarterCode.py in your preferred python IDE windows.py
Command(with Linux as the working directory):
Command (with Linux as the working directory):
python UltimateSecurityCam.py
-
Open up
UltimateSecurityCam.py
in your preferred python IDE UltimateSecurityCam.py -
Run using python 3.6 (recommended).
-
The program takes 3-second waiting time, after that it starts detecting motion , making an alert sound.
Many improvements and developments are in the pipeline! To know more, contact on github or niteshx22@gmail.com The project was created during Njack winter of code ' 18.