Car detection. Best way. Like FreeFlow
Hi Guys,
I want to write a software where it will have a IP camera as input and I need to detect cars and take a snapshot of the front of the car and then send this image to my OCR. I already have a OCR library to integrate to my code.
The cars will be passing by a detection area and I should be able to take the snapshot. How do I do that ? template matching with every frame of the video ? How do I add more then 1 template to compare on each frame ?
Sometimes the car will be passing fast and sometimes slow. I need something similar to the freeflow. See this video https://www.youtube.com/watch?v=5Kfp7EFmT98
I already have the OCR which needs a image as input. So now I need to find a way to do the detection.
Thanks
maybe you don't even need to detect cars, but number plates only
also forget template matching, won't work in your case (not every car is the same, scaling involved, etc)
Try this emgucv implementation http://www.emgu.com/wiki/index.php/License_Plate_Recognition_in_CSharp
i didn't express myself correctly. I already have a ANPR library (Automatic number plate reader.) I just need a way to capture the front of the car from a video stream so I can send the snapshot to my library to read it. I already have a plate recognition system however it needs a image as input. So now I need to find out how to capture the correct frames.
Thanks for your help.
all i'm saying is: finding rectangles, filtering them for size and checking good candidates against an svm works nice and fast in the code above.
explicitly searching for car fronts might be overcomplicating it.