Page 1 of 1
Detect lack of motion?
Posted: Thu Apr 23, 2009 3:08 pm
by matrixsecurity
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.
Posted: Thu Apr 23, 2009 8:40 pm
by cordel
It does not, but is an interesting idea.
[Moved to Feature Requests]
Posted: Thu Apr 23, 2009 8:48 pm
by matrixsecurity
Thanks, I'm trying to make a script create a similar function, any ideas on how to have the script receive a start and stop trigger from ZM? Any other ideas would be helpful thanks!
Posted: Thu Apr 23, 2009 8:57 pm
by cordel
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.
Posted: Thu Apr 23, 2009 9:53 pm
by Normando
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.
Posted: Sun Jun 21, 2009 8:23 pm
by kiwi
hi
is there any way to send alarm mail, that picture is blank? (black)
it happens sometimes, that camera freezes, and I often find it relatively late
(it just resembled "lack of motion" issue)