Create an Azure website project and refer the following assemblies in it:
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.
Now refer the Tesseract binaries and Tesseract data from the “bin” folder as shown in code snippet below.
Now when this project is published in Azure it will directly refer the Tesseract binaries and Tesseract data from” bin” folder and OCR process can be performed with this code snippet.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|7939||08/14/2017||08/14/2017||ASP.NET Web Forms|