Article moved to the Http://lanbing510.info/2014/12/18/License-Plate-Detection-Recognition.html,CSDN on the blog is not in maintenance, thank you.
The recent project needs, the license plate, the first probably done the next research:
The basic methods of detection are:
1 Using edge detection + Contour extraction + license plate feature to detect license plate
2 use harr-like characteristic or LBP characteristic +adaboost to train the template for the license plate detection; it's also useful for neural network training.
3 combination of both
The basic methods of identification are:
1 use Tesseract to train.
2 The character direct training recognizer on the license plate
The library used is an open source project on the Web OPENALPR HTTPS://GITHUB.COM/OPENALPR/OPENALPR
Now Ubuntu12.04, compile, there are bugs, one is about string assigned to NULL The other one is that the header file is less included (Ocr.h inside is added); After compiling the effect and the author of the online demo is very far away, see the author's forum, said Ken can be software version inconsistent, think the version inconsistency can be so far. So I moved on to the familiar windows and made a tedious configuration.
Under the Windows platform, configured for most of the day, all kinds of mistakes, and finally got only one bug, but the bug appeared in the OpenCV itself, decisively and moved back to the Linux platform.
Finally, the Linux is done, the method is: Upgrade Ubuntu12.04 to 14.04 ... Drunk.
After compiling the installation, you can read the source code, modify the codes, and perform various applications.
PS: With sublime to see this code placed in a number of folders under the project, or very cool; better than Vi,gedit.