So I did download the latest version of the trained data file and tried but 
it didn't work. In the actual Java code a Tesseract object isn't ever 
created from what I can find, what the bots do is create a Region in 
Sikulix which then calls collectWordsText(). 
This is the code for reference.

// Need to extend region to get text
Region extendedRegion = Helper.extendVertical("loginbtn-A", match);

Helper.log("Collecting words from login screen.");
List<String> intitailWords = new ArrayList<>();
try {
intitailWords = extendedRegion.collectWordsText();
} catch (UnsatisfiedLinkError ule) {
Helper.log("Possible OCR error. Verify that tesseract is installed and 
working.");
return;
}

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/1f60a124-4449-4306-ac7a-f950d564e1a8%40googlegroups.com.

Reply via email to