Pytesseract does not work properly. Use ocrmypdf instead. It has both command line and coding functionality.
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/58f0ed26-65a7-4664-a283-5d2e163066ba%40googlegroups.com.

