Search code examples
ocrtesseractopenalpr

Letters Missing parts with OpenALPR PrepCharsForTraining Utility


I did run openalpr-utils-prepcharsfortraining on numbers and arabic letters, but the dots are cropped out... You can see the result in my output tiff (converted to png).

The images were resized to get max height 40px.

characters tiff

Here is the original ب but the dot below was removed in the tiff format:

ب


Solution

  • I got it fixed, just edit the code in this file:

    float minHeightPercent = 0.0;

    That's it!