Page 1 of 1

Speed alarm

Posted: Fri Jun 02, 2006 8:11 pm
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?

Posted: Fri Jun 09, 2006 10:50 am
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.

Posted: Fri Jun 09, 2006 10:54 am
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