I'm running tesseract via the python interface pytesseract, and sometimes I get something like this:
pytesseract.pytesseract.TesseractError: (-9, 'Tesseract Open Source OCR Engine v4.0.0-beta.1 with Leptonica Warning. Invalid resolution 0 dpi. Using 70 instead.') The error code returned by tesseract seems to be non-zero even if there's only a warning. If so, what are the possible values of the return code, and which ones can be assumed to be only warnings? -- 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/344fe238-3ea8-47b1-8c72-0dc95276df8a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

