Licence plate
Hi everybody. Have you got an example on how can I detect the license plate of a car?
Hi everybody. Have you got an example on how can I detect the license plate of a car?
See the book "Mastering OpenCV with Practical Computer Vision Projects", chapter 5, with the code source on GitHub here. It trains an SVM and performs OCR recognition too. The main issue you will encounter after is to find a database of such plate to train your system. To the best of my knowledge, it doesn't exist because of privacy issue.
@Mathieu Barnachon They stated in the book and also in the code that their algorithm is varient to the specific standard like licence plate should be of specific Height and Width
and image taken from specific space like 3-4 meters, so do we have any algorithm or the way which is invarient of this ? in which it detect the licence plate which we don't have knowledge of its width and height , even don't have a idea of it , and every vehicle have different size's and color of licence plate
thanks
The parameters are mostly for the code. If you have a different configuration of licence plates, you probably have to train many classifier (one per configuration). You also have to adapt the plate detection to the targeted shape. This book is just a quick starter, not a full application.
@Mathieu Barnachon +1 , You also have to adapt the plate detection to the targeted shape.
, i did it by detecting square shape in the vehicle , but some are rectangle and some are square , how to handle that problem
The easiest way is to use two different detectors. The same issue is for the number groups (XX - XX or XXX - YY - ZZ, etc.) You probably have to test many detector to reach an acceptable recognition rate.
There's also some code for Automatic Number Plate Recognition (ANPR) here in EmGu but very easily portable to OpenCV using contours. I think is oriented towards close range pictures, like those taken in public parking lots and then identifying the characters, which might or might not be what you are looking for.
Asked: 2013-07-07 15:05:39 -0600
Seen: 10,619 times
Last updated: Jul 11 '13
Do you think this licence plate could be enhanced?
OpenCV licensing - which BSD license does it fall under?
Question regarding the license
Regarding OpenCV commercial license for Product Development [closed]
'Intel License Agreement' intentional?
i want to write plate detection
iranian license plate detection
How to distribute a program including OpenCV library with opencv_license.txt