Hi everybody,
I was wondering if there was any way to reverse ZoneMinder's motion detection to detect when motion stop in the frame? We have a few machine that run around the clock and we wanted to be able to have ZM send an email if it detects the motion has stopped. Thanks for any help or suggestions.
Detect lack of motion?
-
- Posts: 2
- Joined: Thu Apr 23, 2009 3:05 pm
You could likely do it in perl using the ZoneMinder perl modules to some degree since they has direct access to the to the status. I would think you would also have to set the reference blend pretty high for that camera, though I have never toyed with it in that fashion. My perl is pretty weak, I can follow it but thats about it.
What happens if set Min/Max Pixel Threshold as follow:
Min:0 (or 1, try your self)
Max:75
Of course, use only the Alarm check method "PixelAlarmed" at starting point.
Set the Max setting below the minimun movement you want to NO detect. Supose you have a machine that generate pixels diference from 90 to 200. Because the events will be canceled when reach the Max setting, then you have no alarms, because your pixels diff are higher than Max setting. When the machine goes off, then the pixels diff are below than Max setting, and an alarm is generated.
This is only an idea. I never tried this. Please, post your results.
Min:0 (or 1, try your self)
Max:75
Of course, use only the Alarm check method "PixelAlarmed" at starting point.
Set the Max setting below the minimun movement you want to NO detect. Supose you have a machine that generate pixels diference from 90 to 200. Because the events will be canceled when reach the Max setting, then you have no alarms, because your pixels diff are higher than Max setting. When the machine goes off, then the pixels diff are below than Max setting, and an alarm is generated.
This is only an idea. I never tried this. Please, post your results.