logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
goroggy  
#1 Posted : Saturday, June 13, 2020 4:01:29 PM(UTC)
goroggy

Rank: Newbie

Groups: Registered
Joined: 6/13/2020(UTC)
Posts: 1
Hungary
Location: Szentendre

Hi there, I try to evaluate Patagames Tesseract for Hungarian. My init is:

_patagamesOcrApi = OcrApi.Create();
_patagamesOcrApi.Init(Patagames.Ocr.Enums.Languages.Hungarian, Application.StartupPath, OcrEngineMode.OEM_TESSERACT_ONLY );

The hun.traineddata is in the tessData directory below the Application.StartupPath, yet the init fails.
I can nicely init for English.

Please advise.
.
Paul Rayman  
#2 Posted : Monday, June 15, 2020 4:50:26 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,102

Thanks: 7 times
Was thanked: 128 time(s) in 125 post(s)
1. Make sure you copy the language data file to the output directory
UserPostedImage


2. Instead of Application.StartupPath, you must specify the path to the tessdata folder.
Users browsing this topic
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.