web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

problem with ocr

(2) ShareShare
ReportReport
Posted on by 4

Hi all, I have a problem with OCR manipulations. I have this error code displayed, I have been fighting for several days without being able to resolve the problem.

Microsoft.Flow.RPA.Desktop.Robin.SDK.ActionException: Unable to create OCR engine ---> System.Reflection.TargetInvocationException: An exception was thrown by the target of a call. ---> System.DllNotFoundException: Failed to find library "tesseract41.dll" for platform x64. at InteropDotNet.LibraryLoader.LoadLibrary (String fileName, String platformName) at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation..ctor (LibraryLoader loader)

--- End of internal exception stack trace ---

at System.RuntimeMethodHandle.InvokeMethod (Object target, Object [] arguments, Signature sig, Boolean constructor)

at System.Reflection.RuntimeConstructorInfo.Invoke (BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture)

at System.RuntimeType.CreateInstanceImpl (BindingFlags bindingAttr, Binder binder, Object [] args, CultureInfo culture, Object [] activationAttributes, StackCrawlMark & ​​stackMark)

at System.Activator.CreateInstance (Type type, BindingFlags bindingAttr, Binder binder, Object [] args, CultureInfo culture, Object [] activationAttributes)

at System.Activator.CreateInstance (Type type, Object [] args)

at InteropDotNet.InteropRuntimeImplementer.CreateInstance [T] ()

at Tesseract.Interop.TessApi.Initialize ()

at Tesseract.Interop.TessApi.get_Native ()

at Tesseract.TesseractEngine..ctor (String datapath, String language, EngineMode engineMode, IEnumerable`1 configFiles, IDictionary`2 initialOptions, Boolean setOnlyNonDebugVariables)

at Microsoft.Flow.RPA.Desktop.Modules.OCR.Utilities.Variants.TesseractOCREngineFacadeToVariant..ctor (OCRTesseractLanguage language, String dataPath, String otherLanguageAbbreviation, Int32 imageWidthMultiplier, Int32 imageHeightMultiplier)

at Microsoft.Flow.RPA.Desktop.Modules.OCR.Utilities.OCREngineFactory.Create (OCREngineSetUp ocrEngineSetUp, String language, Int32 imageHeightMultiplier, Int32 imageWidthMultiplier, String languageAbbreviation, FolderObject languageDataPath) at Microsoft.Flow.RPA.Desktop.Modules.OCR.Utilities.OCRActionBase.Execute (ActionContext context)

--- End of internal exception stack trace ---

at Microsoft.Flow.RPA.Desktop.Modules.OCR.Utilities.OCRActionBase.Execute (ActionContext context)

at Microsoft.Flow.RPA.Desktop.Modules.MouseAndKeyboard.Actions.MoveMouseToTextOnScreenWithOCRAction.Execute (ActionContext context)

at Microsoft.Flow.RPA.Desktop.Robin.Engine.ActionRunner.RunAction (String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

I installed the latest version of c ++ and my .net framework is up to date. I have tried installing the tesseract 5.0 engine with no results. I also tried with another more modern pc, but nothing helps. Does somebody have an idea ? Thanks

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard