Deploys Raspberry Pi and camera as a security camera unit.
- Records in H264 format
- Ability to remove older videos exceeding specified lifetime
- Able to display live video feed, while recording H264 video files
- Able to view live video feed at http://localhost:5000
- Able to timestamp and show camera ID stamps on video
-
Clone this repository.
-
Install
pip
.$ sudo apt-get install python-pip
-
Install dependencies
$ pip install click $ pip install apscheduler $ pip install picamera $ pip install flask
-
cd
into thesrc/
directory and runstart.sh
$ cd src && ./start.sh
-
All videos are found in
rec/
- Live video feed available at http://localhost:5000
-
To view available parameters, tweak
start.sh
and view the help sequence$ python pi-video.py --help