Speed alarm

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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Speed alarm

Post by jameswilson »

Would it be possible with 2 or motion zones on a static camera and a known framerate to calculate an objects speed and only alamr if over a certain amount?
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 »

The centre coords of a blob is calculated, and available via shm to scripts etc. So you could track the centre of motion (which is what zmtrack does). However speed would be a bit harder as you would need to know the range and direction to determine the speed from the angular offset. I guess if your cam positioning limits these factors (e.g. point square on to a road) then this would be possible to hard code.
Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

well if its possible we could enter the distance between two points overlaid on the image so that this could be used in the calcs i suppose. But the points would need to be moveable ie horizont or verical motion, also the distance between the points would need to be variable too ie further apart would give a more accurate reading i suppose
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
Post Reply