Getting an error while using Microsoft OCR

Hi,

While using “Microsoft OCR” for reading PDF, getting below error-
“Read PDF With OCR: Error performing OCR: Unable to initialize Microsoft engine MicrosoftErrorCreateEngine”

If you have idea about this, please let me know.
Thanks!

Hi @Shivi

Try to reinstall the activity or Update it, if it’s not already done. Might be just a bugg, give it a try and see if it works.

1 Like

Are you using Windows7 OS?.

Please try to install the below updates and try again.

Universal CRT :
https://www.microsoft.com/en-us/download/confirmation.aspx?id=53587

Windows7 KB2533623 :

https://www.microsoft.com/en-us/download/details.aspx?id=26767 (32 BIT)
https://www.microsoft.com/en-in/download/details.aspx?id=26764 (64 BIT)

Windows7- KB2999226
https://download.microsoft.com/download/C/5/D/C5D68AA1-F62E-422A-9084-4AD85CEB8D4D/WindowsUCRT.zip

  • x64-based Windows 7 SP1 or greater, Windows Server 2008 R2: Windows6.1-KB2999226-x64.msu
  • X86-based Windows 7 SP1 or greater: Windows6.1-KB2999226-x86.msu
1 Like

Still getting the same error.

1 Like

I am using windows 10

@Shivi

Reinstall SharePoint designer and give a try :slight_smile:

Is this I need to do from manage package?

1 Like

@Shivi

Install this :point_down: and try again ! * Don’t know why it’s related too… xD

https://www.microsoft.com/en-us/download/details.aspx?id=35491

Don’t know if it’s gonna work for you, let me know :slight_smile:

1 Like

Still getting the same errror.

1 Like

I’ve got no more ideas sorry :slight_smile:

Hello @Shivi,

Never encountered this problem with Windows10 however this is a common error in earlier versions of the OS.

As per the Microsoft documentations, In Windows 10, OCR is part of Windows SDK as Universal Windows Platform (UWP) API.

Just check if you are facing the same error in other Windows 10 systems.
You can also try by installing Windows 10 in a virtual machine (VirtualBox,VMware etc) and check if the OCR works.

As an alternative you can use the Tesseract OCR or other online OCRs if you have the API keys.

1 Like

Hi,

With Tesseract OCR it is working but it is working slow.

Thanks

@Shivi

What’s the scale set to? I have gotten that error just from having the scale one or two points two high.

Hi,

Scale was set to 2 but I also tried different value but nothing works out. Getting the same error every time.

Thanks.