Rank: Newbie
Groups: Registered
Joined: 6/24/2016(UTC) Posts: 2 Location: US
|
I'm running the Tesseract OCR in an automation environment to verify printed documents. Using a very simple Windows Forms program, Visual Studio 2015 Update 2, i'm able to extract text without a problem. I haven't set up any environment variables, nothing special at all.
However, when running through automation utilizing TestStack.White (runs like unit tests through NUnit), I get the following error:
Directory not Found Additional information: Could not find a part of the path 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\tessdata'.
I have a bin folder where i compile all the code to, so i have a \bin\debug\tessdata folder with the files, and my unit tests run from \bin\debug. I'm not sure why it's looking in the above folder and can't find an option to explicitly direct Tesseract to the appropriate folder.
Thanks in advance for any help!
Kevin
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/24/2016(UTC) Posts: 2 Location: US
|
That worked great, i'm off and running. Appreciate your time!
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close