Console App created in MS Visual Studio 2017 enables one to read registracion number from graphic file.
Project is created with:
- C# (.Net Framework 4.7.2)
- EmguCV (ver. 4.4.0.4061)
PM> Install-Package Emgu.CV -Version 4.4.0.4061
Original photo with plate
A blue mask is applied to the original image...
...and a white one.
Both images (1.1 and 1.2) are merged into one with possible areas of white part of plate.
The program searches for vertices of biggest area (of image 1.3)
Program dissects the white part of image from image 1.3 with use the corners found at image 1.4. Then it reshape plate to the best possible to read data. In the end of this step it mark the contours of every single sign.
Every rectangular area described by contour (in the end of 2.) is read by SVM algorithm assign. In the end they are assembled together into plate number.
Essentially its done. Single plate is recognited in time less than 1s.