This application was built as a pet-project by me as an openCV and PyQT practice.
Application has 2 modes of motion capture
- General motion recognition (uses whole frame to detect motion):
- Motion recognition with zone selection (uses zone area to detect motion):
You can change motion detection sensitivity (threshold, area and kernel size) and choose timer that will be decreased if zone has no motion and updated if zone has motion.
If timer expires, the light in the specific zone will be switched off.
If the light is off and zone receives motion, it will be then switched on again.
- Use mouse drag to select zone.
- Use e to activate zone based motion detection
- Use c to clear zones and return back to a general motion detection mode