Skip to content

Alefig12/colombian-license-plate-recognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colombian-license-plate-recognizer

This is a license plate recognizer (ANPR) for Colombian yellow license plates. It does work like an usual ANPR except it focuses on yellow plates, therefore being a little bit tricky at the time of localizing the license plate. I'm using a variety of images I found on the internet from different quality, ilumination and size, thus the recognizer can't distinguish some of them.

This is how it works.

Let's say we have this picture:

First using opencv we convert to HSV and perform a thresholding operation to mask out the yellow part of the image. We should end up with something like this:

Now that the plate has been marked we find the countours of the image and select the biggest one, about 95% of the time it selects the license plate.

This is the selected and cropped countour:

Now with the cropped license we can once again find countours and select the ones with an specific area, perimeter and ratio. Usually it selects the characters we're looking for. After having the separate characters we apply some filters and blur for the OCR to be more accurate.

Now we can use pytesseract to recognize each character from the pictures and we're done!

About

license plate recognizer for Colombian yellow license plates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages