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

Report
All responses (
Answers (