on-camera motion detection

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
divanov
Posts: 4
Joined: Mon Jul 17, 2006 3:48 am

on-camera motion detection

Post by divanov »

Hello.

I just noticed that my AXIS 207 camera has an option to send an HTTP notification. I did not test this yet, but I asume it would send repeated notifications when motion is detected.

Is there any way to use this instead of MoDetect ? That is, have zone minder record when it gets these notifications. If not, how hard would that be to implement ? I would be really interested in doing this.

Also, would this considerably reduce the load on the server?
divanov
Posts: 4
Joined: Mon Jul 17, 2006 3:48 am

Post by divanov »

Would this be possible using Nodetect and zmtrigger.pl. Where can I find some documentation on how to use zmtrigger.pl ?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

I have never used zmtrigger.pl and i dont think there as any full documentation for i as its an advanced option. There are some working zmtrigger scripts in the contribs that do differeent things i would suggest you look at these. Maybe someone who has developed something for zmtrigger could do a very basic exaple we could put on the wiki, as i for one prefer examples to documents!

IOt definetly would help the load on the server as the deytection takes a fdair bit of processor horsepower
James
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If the camera can output an indication via http or something like that then adding a connector class to zmtrigger would be easy. On the other hand if it just outputs via hardware switches then there will need to be a bit of hardware in between to bring it onto the ZM box, probably via serial ports.
Phil
divanov
Posts: 4
Joined: Mon Jul 17, 2006 3:48 am

Post by divanov »

This particular camera can do both, hardware switch and a http post. It looks like it posts on start OR end (not both) of motion event. This is kind of BAD as it does not let me turn the recording on and off. It would probably has to be done with a timer. I will look into the contrib scripts to figure this out
mycal
Posts: 65
Joined: Tue Nov 09, 2004 6:39 am

Post by mycal »

Hey let me know on how you would like this to work as I think it is a great idea. I'm working on some firmware for an IP camera/ video server and would like to add something like this.

Also le me know any other features an IP camera should have so I can look into adding those too.

mycal
divanov
Posts: 4
Joined: Mon Jul 17, 2006 3:48 am

Post by divanov »

Axis can send events on motion start or end only (not both either). I think that using zmtrigger.pl you would need the camera to send motion events at fixed intervals while motion is happening. This way you can set a monitor to record for something like 10 seconds at a time each time you receive a notification from the camera. Camera would have to send motion events every 9 seconds for example during motion.

Axis cameras can also send coordinates of motion. I am assuming this would be harder to integrate.
Post Reply