Convert Scanned PDF to Searchable PDF using Aspose C#

The code available in the link “Scanned PDF to Searchable PDF with OCR in C# | Recognize Text PDF” is not working. Can some one help to achieve this? I have a scanned pdf document, I need to convert into searchable pdf format. That’s it. Thanks a lot in advance.

@KarthikSathravada

Can you please share what issue are you facing? Also, please share your sample PDF with us. We will test the scenario in our environment and address it accordingly.

Thanks you so much for your response. Refer screenshot below.

image.png (116.0 KB)

This is where I am getting error. Sorry, I can not share the pdf as it has confidential data. However that pdf is a non-ocr pdf (scanned pdf only).

@KarthikSathravada

Looks like you have included the DLL in the project directly. Please install Aspose.OCR via NuGet Package Manager. This way the dependency will be installed automatically. Also, make sure that you are using .NET framework higher than 4.6.2. In case issue still persist, please create a sample console application and share it with us. We will test the scenario in our environment and address it accordingly.