ABBYY ocr not working

Hello guys,

I have recently installed ABBYY FR11 engine with key to use it in uipath but unfortunately I keep getting this below error. Any help on this issue would be really appreciated.

Main has thrown an exception

Source: Abbyy OCR

Message: Error performing OCR: AbbyyErrorLoadEngine

Exception Type: Exception

System.Exception: Error performing OCR: AbbyyErrorLoadEngine

Server stack trace:
at UiPath.Vision.VisionClient.ScrapeUsingHostService(OCRInput input, OCROptions options, CancellationToken cancelToken)
at UiPath.Vision.VisionClient.ScrapeImage(OCRInput input, OCROptions options, CancellationToken cancelToken, Boolean useHostProcess)
at UiPath.Vision.VisionClient.Scrape(OCRInput input, OCROptions options, CancellationToken cancelToken, Boolean useHostProcess)
at UiPath.Vision.UiImage.ScrapeOCR(OCROptions options, CancellationToken cancellationToken)
at UiPath.Core.Activities.OCREngineActivity.<>c__DisplayClass36_0.b__0()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object args, Object server, Object& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at UiPath.Core.Activities.GetOCRText.OnScrapeFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

1 Like

@badita @Gabriel_Tatu @ovi

Hi @jamnanin,

For Abby OCR activity to work, you need to install ABBYY FineReader Engine and purchase a license for it.

It’s not Free

Regards,
Arivu

@arivu96 yes i have purchased a license and registered it too.

do you have the x86 engine installed?

I have installed the 64 bit version. @Gabriel_Tatu

Thats not gonna work, install x86 please.

Installing it gives me an error saying that the dll is already in use. how can i get rid of this error? @Gabriel_Tatu

I m not sure what error you are having, can you give more details?

Thanks @Gabriel_Tatu I managed to get it working.

I am still unable to get an option for “Abbyy OCR” in the scraping method drop down. i have to manually change it in the sequence. Is there a way to get the OCR in the drop down?
@Gabriel_Tatu

Abbyy does not work like that, it is used for scraping documents - pdf, images etc as a standalone engine. It is not available in the Screen scraping wizard.

1 Like

Sure, Thank you for the help @Gabriel_Tatu

Hello guys,

How do you know if what you installed is a x86 or x64 version?
i am facing the same error “Error performing OCR: AbbyyErrorLoadEngine”.
Please help.
Thanks

Here are the steps involved - had to try this numerous times going back and forth between UiPath and Abbyy separately. The trial license was installed on my machine (not network)

Abbyy FineReader Engine Local:

  1. Download link: https://download.uipath.com/3rdParty/Abbyy.FineReader.11.zip
  2. Open elevated cmd in the folder where you extracted the archive and run: Setup.exe /qb /v INSTALLDIR=“C:\Abbyy\FR11” SN=serialkey ARCH=x86 LICENSESRV=Yes
  3. Open location C:\Abbyy\FR11\Bin and execute LicenseManager.exe – key in Serial Key in the License Manager window and save.
  4. In UiPath Studio - properties pane of Abbyy OCR, change the Fine reader version to FineReaderEngine11

Few notes -

  1. UiPath provided trial run time license of Abbyy FineReader 11 (not 12)
  2. Also Abbyy run time license is required (not developers license)
  3. Abbyy Installation folder C:\Abbyy\FR11 - is very important - do not deviate

Hope this helps