Motion detection project. Aims to minimise resource usage whilst providing accurate reports with minimal false positives.
- Python v3.8
- USB Webcam or Camera Device
py -m catnip --help
-
In one thread, record footage constantly and save the latest frame to a variable.
-
On another thread, process the very latest frame and check for movement every x (1) seconds.
-
If we detect movement, start recording frames to a new folder (or memory perhaps?) for x (15) seconds.
-
If the average is still the exact same at the end of a certain period of x (15) seconds, update the average.
- Automatic exposure settings may create false positives, especially in places with harsh light differences such as a lamp on a brightly coloured surface at night.
- Added a "fix" with the
--disable-exposure
argument.
- Added a "fix" with the