Port details |
- py-pytesseract wrapper for Google's Tesseract OCR engine
- 0.3.13_1 graphics
=2 0.3.13Version of this port present on the latest quarterly branch. - Maintainer: mandree@FreeBSD.org
 - Port Added: 2021-05-22 11:06:39
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://github.com/madmaze/pytesseract
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pytesseract>0:graphics/py-pytesseract@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/graphics/py-pytesseract/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/py-pytesseract
- pkg install py311-pytesseract
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pytesseract listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pytesseract
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1697487256
SHA256 (madmaze-pytesseract-v0.3.13_GH0.tar.gz) = 454ca16dc7fa59aa9c8ba42500992531773fbdc04caef1b39611755cae9f34bf
SIZE (madmaze-pytesseract-v0.3.13_GH0.tar.gz) = 1099109
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- tesseract : graphics/tesseract
- py311-pillow>0 : graphics/py-pillow@py311
- python3.11 : lang/python311
- py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
- py311-pandas>0 : math/py-pandas@py311
- py311-tox>0 : devel/py-tox@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- tesseract : graphics/tesseract
- py311-pillow>0 : graphics/py-pillow@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- graphics_py-pytesseract
- USES:
- localbase python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.3.13_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
0.3.13 16 Oct 2023 20:40:23
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: update to v0.3.13
ChangeLog:
https://github.com/madmaze/pytesseract/releases/tag/v0.3.12
https://github.com/madmaze/pytesseract/releases/tag/v0.3.13 |
0.3.11 27 Aug 2023 12:10:17
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: update → 0.3.11
Changelog: https://github.com/madmaze/pytesseract/releases/tag/v0.3.11
MFH: 2023Q3 |
0.3.10 26 Aug 2023 21:42:11
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/py-pytesseract: Remove outdated PYTHON_REL check after lang/python37
removal
Approved by: portmgr (blanket)
With hat: python |
0.3.10 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.3.10 09 May 2023 10:20:52
    |
Alexey Dokuchaev (danfe)  |
ASCII'ze port descriptions which were (ab)using UTF-8 punctuation
While here, run these files through a spell-checker and wrap some
overly long lines and/or dangling prepositions (when appropriate). |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.3.10 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.3.10 30 Mar 2022 20:47:31
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: update to v0.3.10
* Fix image_to_osd regression (reported by @klavdijS)
Changelog: https://github.com/madmaze/pytesseract/releases/tag/v0.3.10
MFH skipped, we are just two days before 2022Q2 branch. |
0.3.9_1 27 Jan 2022 23:50:17
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: fix DICT conversion
...via tsv file; this was the one failing self-test, now passes.
https://github.com/madmaze/pytesseract/issues/406 |
0.3.9 26 Jan 2022 22:59:34
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: update to 0.3.9
Release Notes: https://github.com/madmaze/pytesseract/releases/tag/v0.3.9
* bump minimal Python requirement to 3.7, upstream de-supports EOL 3.6
* upstream made build tweaks
Packager Notes:
* test_image_to_data_common_output[dict] is failing for me,
=> https://github.com/madmaze/pytesseract/issues/406
* if your tox package complains it cannot find py-filelock,
update the latter to 3.4.2_1 (commit 97cae4aba by yuri@ 2022-01-19) |
0.3.8 26 Jun 2021 08:44:09
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: 0.3.8 update, fix tests
- 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. |
0.3.7_1 05 Jun 2021 10:27:00
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: Bump PORTREVISION, add test
Bump PORTREVISION to pull in py-pillow requisite, missed in 2b87ac22.
Add TEST_DEPENDS and do-test for "make test" support (requires py-tox). |
0.3.7 04 Jun 2021 21:50:58
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: require py-pillow...
...and USE_PYTHON=concurrent.
Reported by: kai@
PR: 256085 |
0.3.7 22 May 2021 11:04:08
    |
Matthias Andree (mandree)  |
graphics/py-pytesseract: NEW wrapper for tesseract
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. |