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 : 5 years ago
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 : 5 years ago
Paul Rayman

Rank: Administration

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

Thanks: 7 times
Was thanked: 129 time(s) in 126 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
Guest
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.