Chars not correctly recognized with french language resource


#1

Hello,

I am using Aspose.OCR for .Net in version 17.11.0 with the resource “French language resource file for Aspose.OCR for .NET 3.2.0”.

I have two image files :

  • 1st image contains “kevinc” and the result of OCR Engine is “kevînc”.
  • 2nd image contains “2m Interactive Sàrl” and the result is “2rr lnteractîve Sarl”.

kevinc.png (10.8 KB)
2mInteractive.png (12.8 KB)

Can you tell me if there is a solution ? Thank you !

Here is my configuration :

            ocrEngine.ClearNotifies();

            CorrectionFilters filters = new CorrectionFilters();
            filters.Add(new Aspose.OCR.Filters.RemoveNoiseFilter());
            filters.Add(new Aspose.OCR.Filters.MedianFilter());
            ocrEngine.Config.CorrectionFilters = filters;

            ocrEngine.LanguageContainer.Clear();
            ocrEngine.LanguageContainer.AddLanguage(LanguageFactory.Load("French_language_resource_file_for_Aspose.OCR_for_.NET_3.2.0.zip"));

            ocrEngine.Image = ImageStream.FromFile("test.png");
            ocrEngine.Config.RecognitionBlocks.Clear();
            ocrEngine.Config.RemoveNonText = true;
            ocrEngine.Config.SavePreprocessedImages = true;
            ocrEngine.Config.DeleteTableLines = true;
            ocrEngine.Config.DoSpellingCorrection = true;
            ocrEngine.Config.AdjustRotation = AdjustRotationMode.Disabled;
            ocrEngine.Config.AdjustUpsideDownRotation = AdjustUpsideDownRotationMode.None;

            IRecognitionBlock block = RecognitionBlock.CreateTextBlock(0, 0, region.Width, region.Height);
            ocrEngine.Config.AddRecognitionBlock(block); 
            ocrEngine.Config.DetectTextRegions = false;

#2

@2m_DEV,

Thank you for sharing samples with us. We have investigated the issue at our end. Initial investigation shows that the issue persists. The issue has been logged into our system with ID OCR-152 for further investigation. We will update you here once there is some information or a fix version available in this regard.