Python save camera frames, denoise the video a bit, on extra movement in the camera save the frames as a gif.
It uses optical flow to see differences in the video frames and you can set the threshold of change you want.
View when an event has happened.
pip install imageio
pip install opencv-python
Open file:
python SimpleSecurityCam.py