Hi, inverting the image gives the correct results. Also cropping the image just around the text works.
Lorenzo Il giorno lun 29 apr 2019 alle ore 19:11 Jason <[email protected]> ha scritto: > Apologies for such a simple question but this is a super simple test case > and I don't understand why it isn't working. This simple image contains the > words "PASS" and "FAIL". "PASS" is recognized but "FAIL" comes out as > "wee". What can I do to get it to detect "FAIL" properly? > > I'm using the demo CPP code, ideally I would like to provide an "approved" > word list or be able to remove "wee" and hopefully, it'll match to "FAIL". > I saw > https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#config-files-and-augmenting-with-user-data > but > that looks like it's just for the command line utility? How would I go > about that int he C++ API? > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/71bab02c-ba21-49dc-8e99-710d52075207%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/71bab02c-ba21-49dc-8e99-710d52075207%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAMgOLLybFYrW7U1n8GBzM2Va%2BWd0MB2MS18Qgi4smuFauLdHRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

