We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.OCR RecognizeAndSaveSearchablePdf

Hi

We used the following example code in order to get a searchable PDF (Aspose OCR Version 22.11.0):

List<RecognitionResult> res = api.RecognizePdf("test8.pdf", new DocumentRecognitionSettings(0, 2)
        {
            Language = Language.None
            //AutoContrast = true
        });
        AsposeOcr.SaveMultipageDocument("result8.pdf", SaveFormat.Pdf, res);

About 50% is recognized, and it shows a wrong position for the searched text.

1.pdf (145.5 KB)
2.pdf (148.6 KB)

The properties with Contrast and language are also not working properly.
With AutoContrast the original document gets very bright and is almost ruined.
result3.pdf (118.7 KB)

For a concrete document in german we get with the value Language.Deu only 20% text.

can we optimize here something in order to get the right position and get more recognized text?

thanks in advance for an answer

@hasanirmak

An investigation ticket as OCRNET-615 has been logged in our issue tracking system to further analyze this case. We will look into its details and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.