Improved triggering and detection....

wpiman

Pulling my weight
Joined
Jul 16, 2018
Messages
332
Reaction score
246
Location
massachusetts
So not sure if I should post this in ALPR or AI. Figured here would be better.

I am detecting cars passing and reading their plates. I am also using zones to determine direction.

I have Zone A cover the whole area for detection. I was using zones B and C split down the middle. I'd trigger when A>B and B>A. That was ok, but often the trigger would occur and the images going to the AI happened a little late.

I ended up creating 5 zones. A which is everything, and the stripes B,C,D and E. I trigger on B>C and E<D so that the trigger happens earlier. I have the direction still and the trigger moves back in time. A>B is leaving (left to right) and E<D is arriving.

Haven't missed a plate since I did this.

Simple fix but I figured I would share.


Screenshot 2024-01-25 at 3.18.00 PM.png
Screenshot 2024-01-25 at 3.18.11 PM.png
 
Top