See the error stack below (from log file *_VisionHost):
08:57:26.5493 Info Input language:eng, translated language:eng
08:57:26.6118 Warn Error initializing Tesseract engine System.ArgumentException: Unable to create ocr model using Path 'C:\USERS\QUENTINDELIÈRE.NUGET\PACKAGES\UIPATH.VISION\1.4.0\BUILD' and language ‘eng’.
à Emgu.CV.OCR.Tesseract.Init(String dataPath, String language, OcrEngineMode mode)
à UiPath.Vision.Engines.TesseractLegacyExternalEngine.Initialize(String dataPath, String language, Boolean extractWords)
à UiPath.Vision.Engines.TesseractLegacyEngine.Initialize()
08:57:26.6118 Error Error initializing Tesseract engine UiPath.Vision.OCR.OCRException: TessErrorLoadEngine
à UiPath.Vision.Engines.TesseractLegacyEngine.Initialize()
in UIPath Academy, I’m doing the exercice 10 of training “Level 1 RPA Developer Fundation”.
In this exercice, you just have to analyse a pdf document “Perfect Match.pdf”
As you can see on initial screenshot Tesseract OCR is not working at all (see stack error upper).
While the windows OCR is working well.
For further project development, we need both OCR engine. So I must fix that issue.
in UIPath Studio 2019.3.0, Google OCR is renamed Tesseract OCR.
So Microsoft OCR is working on “Perfect Match.pdf” but not Tesseract OCR…
As it’s the simplest pdf document ever. The behavior is not normal.
@florinszilagyi, there is no particular antivirus installed.
I’ve unchecked the “Read-Only” option to the tessdata folder. Also checking the access, everyone is allowed to read/write on it.
we are working with laptop having Windows 10 Pro.
I’ve tried the same “exercice” on another laptop with a complete uninstallation of the antivirus → same issue.
I also tried, moving directly the eng.traineddata file in the upper level directory, so the build one (and also in project folder). No changes, issue still present.
See here how to add a custom package source: Studio - Managing activity packages
Create a new package source in the folder you place the nupkg file and install that Vision version.