Code part for the DIY trap-cam by Mr Hackquarium : Raspberry pi + pi cam + Pir sensor + python
This module is based on python picamera.
See https://Hackquarium.lebiklab.com/tag/trap-cam
$ sudo pip3 install rpi.gpio picamera
$ python3 trapcam.py
All parameters are in the top of the script.
See picamera doc for more options: https://picamera.readthedocs.io
* Real module with config file to publish on pypi
* Docker version
This script is licensed under GNU GPLv3