aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-pytesseract
Commit message (Collapse)AuthorAgeFilesLines
* graphics/py-pytesseract: 0.3.8 update, fix testsMatthias Andree2021-06-262-9/+17
| | | | | | | | | | | | | - update to upstream release 0.3.8, switching to Github because PyPI (the "cheese shop") only carries 0.3.7 - restrict tests to the currently built Python flavor, else tox would try and run others it finds, inheriting possible test failures from other Python versions lacking some packages such as pillow or numpy in their install - test: add py-numpy to test requisites - test: add py-pandas to test requisites for Python >= 3.8 - test: add --sitepackages to tox invocation so that the tests find py-pillow.
* graphics/py-pytesseract: Bump PORTREVISION, add testMatthias Andree2021-06-051-1/+6
| | | | | | Bump PORTREVISION to pull in py-pillow requisite, missed in 2b87ac22. Add TEST_DEPENDS and do-test for "make test" support (requires py-tox).
* graphics/py-pytesseract: require py-pillow...Matthias Andree2021-06-041-2/+3
| | | | | | | ...and USE_PYTHON=concurrent. Reported by: kai@ PR: 256085
* graphics/py-pytesseract: NEW wrapper for tesseractMatthias Andree2021-05-223-0/+35
Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and “read” the text embedded in images. Python-tesseract is a wrapper for Google’s Tesseract-OCR Engine. It is also useful as a stand-alone invocation script to tesseract, as it can read all image types supported by the Pillow and Leptonica imaging libraries, including jpeg, png, gif, bmp, tiff, and others. Additionally, if used as a script, Python-tesseract will print the recognized text instead of writing it to a file.