Page 1 of 1

Zone Line Cross Detection

Posted: Tue Feb 20, 2018 1:34 am
by DVB Hardware
This is not a feature request.

I was wondering if anyone tried to do Line Cross Detection by drawing a thin rectangle zone for like the use in a driveway, walkway, etc. I noticed some newer Hikvision cameras support it and I don't think zoneminder supports it yet even if a specific Hik camera is selected which i don.t have at the moment.

By drawing a thin rectangle in zoneminder a event has to be bi directional line cross. The trigger has to be based on pixels removed ?? A driveway maybe 60% and a walk way of 3ft 40%

Otherwise in Hik it is A>B B>A and A><B

Just thinking

Jimmy

Re: Zone Line Cross Detection

Posted: Tue Feb 20, 2018 12:42 pm
by rockedge
I think variations of this are being experimented with to detect direction of motion. There was a case of a camera monitoring a train track. This track had a crossing in a town that when closed for a train, blocked access across to get across town for awhile (long trains) so the idea was to use thin rectangles and combinations of zone types to determine if the trains were traveling inbound or outbound... a warning that a train was coming if one wanted to get to work on time and had to use the track crossing. I attempted to use ZM and Opencv to do this direction of motion determination.....but the CPU demands were much more then my machines can handle so in a real world application it was no more then a proof of concept.