DoubangoTelecom / ultimateALPR-SDK

World's fastest ANPR / ALPR implementation for CPUs, GPUs, VPUs and NPUs using deep learning (Tensorflow, Tensorflow lite, TensorRT, OpenVX, OpenVINO). Multi-Charset (Latin, Korean, Chinese) & Multi-OS (Jetson, Android, Raspberry Pi, Linux, Windows) & Multi-Arch (ARM, x86).
https://www.doubango.org/webapps/alpr/
Other
593 stars 157 forks source link

Carplate font interpretation mismatch: I (letter) instead of 1 (digit) #283

Closed constantintaivan closed 9 months ago

constantintaivan commented 9 months ago

Hello,

We have the following issue regarding car plates recognition. Using the production licence we get a misinterpretation of 1. For instance in a car plate there is a number in the middle. The good read would be 21 but the actual read is 2I.

Is there any solution to avoid this font issue?

Reproduced here: https://www.doubango.org/webapps/alpr/ image

Thank you Kind regards,

mfateminia commented 9 months ago

Hi, to add an additional info to Constantin's point. The UK license plates (the once Constantin has also shared) are of this format: LLDDLLL (L standing for letter and D for digit) Example: AB21ABC

What we have noticed is that the digits that are 1 are most of the time picked as letter "I". Any workaround would be appreciated.

Thanks Ali and Constantin

DoubangoTelecom commented 9 months ago

Hi, For me 4th character is an "i" not a "1". In other countries that character is an "i'. You say it's an "i" because that's the format for your country. So, use a regular expression (LLDDLLL) to replace the 3rd and 4th characters when they are "i" to "1"