- Primarily using openCV and Flask module to create a LAN server that will stream multiple USB camera live feeds, while allowing user to download motion triggered footage directly from any device on the network.
- Using JQuery JS in the backend to allow download links to .mp4 files
- Put all downloaded files into folder called 'SECCAM'
- USB camera 1 will be used for outdoor monitoring. It will record 10 second clips when motion detected.
- USB camera 2 will be used for indoor motion detection. If motion detected, it will take pictures and store them in 'images' folder
- Flask server will stream both camera feeds and filehost .mp4 files of camera 1 from 'static' folder
- There are .mp3 files that will play to alert intruders and update users on system status
- opecv-python
- opencv-contrib
- flask
- json
- time
- datetime
-
Change file path in lines 97, 98, 130, 139
-
Change IP address to yours at bottom of 'securityCamera.py' file
-
Change IP address to yours in 'get_json.js' inside 'static' folder
-
Change file paths in 'get_json.js' inside 'static' folder
- Open browser, go to http://[ip address]:[portnumber] to see live feed and access server files
- Comment lines 21/22 depending on what haar classifier you want to use for USB camera #2
- Download 'Google backup & sync' and sync folder to google drive automatically