Re: [Sikuli-driver] [Question #692958]: tesseract pattern not enforced?
Question #692958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692958 RaiMan proposed the following answer: LOL, Great RaiMan has hidden his nonsense comments ;-) I agree, that for this very special case Tesseract user group is the better place. Thanks for feedback. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692958]: tesseract pattern not enforced?
Question #692958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692958 matteoa posted a new comment: HI, I received the email with responses from the Great RaiMan but I'm unable to see them here. I routed the question to the TEsseract user group, will report if I'll got responses: https://groups.google.com/g/tesseract-ocr/c/Hmv6YlWYXB8 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692958]: tesseract pattern not enforced?
Question #692958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692958 RaiMan proposed the following answer: uups forget my nonsense from #1. sorry. ... but I have no idea. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #692958]: tesseract pattern not enforced?
Question #692958 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692958 Status: Open => Answered RaiMan proposed the following answer: first time I ever heard of this :-))) I found this: \d - unichar for which UNICHARSET::get_isdigit() is true \n - unichar for which UNICHARSET::get_isdigit() and UNICHARSET::isalpha() are true So at least the \n should be \d -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #692958]: tesseract pattern not enforced?
New question #692958 on Sikuli: https://answers.launchpad.net/sikuli/+question/692958 Hello, I'm trying to OCR a text field on the target that contains codes that have a pattern ( implemented as pattern file in tesseract terms): P\n\n\n\n C\n\n\n\n B\n\n\n\n U\n\n\n\n In practice there is a letter that can be P or C, or B or U and then 4 more hex digits. The length is always exactly 5 char in total. So, at least in my intention with this pattern file, correct output would be, as examples: P0123, P2EFD, C12EF, B2BCD and so on. Running the script I see that the vast majority of the output is as expected but I have also some results like PPB, PFF3,CC3 and so on. Is there a way I can enforce more the adherence to the pattern I setup in Sikulix (Jython) like this: OCR.globalOptions().variable("user_patterns_file", "C:\\Sikulix\\Util\\Code_OCR.Pattern") OCR.globalOptions().variable("tessedit_char_whitelist", "PCBU0123456789ABCDEF") OCR.globalOptions().variable("tessedit_char_blacklist", "abcdefGgHhIiLlMmNnOopQqRrSsTtuVvZzJjYyKkWw-!|") OCR.globalOptions().variable("load_system_dawg", "F") OCR.globalOptions().variable("load_freq_dawg", "F") Thanks in advance. My configuration is: 2.0.4-2020-03-14_08:01/Windows10.0/Java8(64)1.8.0_251-b08 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp