We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to perform OCR for a PDF document in Azure environment

 

 

Step 1:

 

Create an Azure website project and refer the following assemblies in it:

  1. Syncfusion.Compression.Base.dll
  2. Syncfusion.Pdf.Base.dll
  3. Syncfusion.OCRProcessor.Base.dll

Step 2:

 Add the Tesseract binaries and Tesseract data to the created project in separate folders as embedded resources.

The below screenshot shows the Tesseract binaries and Tesseract data added as separate files inside App_Data folder of the project.

 

 

Once the files are added, rebuild the project, then the added files can be found inside the “bin” folder of the project.

Step 3:

Now refer the Tesseract binaries and Tesseract data from the bin folder as shown in code snippet below.

 

C# :

 

 

VB:

 

 

Now when this project is published in Azure it will directly refer the Tesseract binaries and Tesseract data from binfolder and OCR process can be performed with this code snippet.

 

Sample link:

 

http://www.syncfusion.com/downloads/support/directtrac/181414/ze/AzureOCR1147155642

Article ID: Published Date: Last Revised Date: Platform: Control:
7939 08/14/2017 08/14/2017 ASP.NET Web Forms PDF
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon