Arabic Numerals
The Arabic, Persian and Urdu language packs do not recognize Arabic numberals?
This is a known issue with the Tesseract language packs.
The following language pack may help to address this issue with Arabic numberals: https://github.com/Shreeshrii/tessdata_arabic
This can then be used with the IronOCR feature to load custom language packs: https://ironsoftware.com/csharp/ocr/languages/#custom-language-example
using IronOcr; var Ocr = new IronTesseract();
Ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata");
using (var Input = new OcrInput(@"images\image.png"))
{
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
using IronOcr; var Ocr = new IronTesseract();
Ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata");
using (var Input = new OcrInput(@"images\image.png"))
{
var Result = Ocr.Read(Input);
Console.WriteLine(Result.Text);
}
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata")
Using Input = New OcrInput("images\image.png")
Dim Result = Ocr.Read(Input)
Console.WriteLine(Result.Text)
End Using