Thank you very much for answer! But as I say, VietOCR doesn't make workable files for me and I don't know why. Even if I use "vie" language made by that program without any changes, I got an error "Attempted to read or write protected memory" on the line
if (processor.Init(@".\tessdata\\", "vie", (int)eOcrEngineMode.OEM_DEFAULT))
By the way, do you see two ending slashes? :) I got the same error with native "eng" languag if I use one and no slahes at all. Tried two slashes and it began to work! But for "vie" language data that trick doesn't work.
What about only numbers -I like to use
processor.SetVariable("tessedit_char_whitelist", "0123456789");
It works fine, but I get wrong numbers sometimes.
Thank for your advice about resolution, I'll try.
пятница, 31 октября 2014 г., 17:20:18 UTC+3 пользователь shree написал: