Rank: Guest
Groups: Guests
Joined: 1/5/2016(UTC) Posts: 162
Was thanked: 5 time(s) in 5 post(s)
|
Hello I added pol.traineddata file downloaded from https://tesseract.patagames.com/langs/ to tessdata folder in my project but I'm getting the error anyway. Full error text: "An unhandled exception of type 'Patagames.Ocr.Exceptions.LanguageNotFoundException' occurred in Patagames.Ocr.dll Additional information: The requested language 'pol' not found in tessdata folder 'C:\Users\o\documents\visual studio 2015\Projects\OCRConsoleTest\OCRConsoleTest\bin\Debug\tessdata'. Please download it from http://tesseract.patagames.com/langs/ and put into the tessdata folder." What would have possibly gone wrong? Should I add something to Patagames.Ocr.dll? Actually I can't even find that file. Where is it?
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Hi, When building your project, the tessdata folder with its files must be placed next to your application in the root directory. I'm guessing you are forgot to set up the "Copy to Output Directory" property of those files. Please setup to "Copy always". You can find more details here: https://tesseract.pataga...e6-b6e9-9df777c4678c.htm
|
|
|
|
|
|
Rank: Guest
Groups: Guests
Joined: 1/5/2016(UTC) Posts: 162
Was thanked: 5 time(s) in 5 post(s)
|
|
|
|
|
|
|
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