notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-tesserocr Pillow-friendly, Python wrapper around tesseract-ocr API using Cython
2.10.0 graphicsnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: cmt@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-03 17:45:07
Last Update: 2026-07-03 17:41:33
Commit Hash: f36130b
Also Listed In: python
License: MIT
WWW:
https://github.com/sirfz/tesserocr
Description:
tesserocr integrates directly with Tesseract’s C++ API using Cython which allows for a simple Pythonic and easy-to-read source code. It enables real concurrent execution when used with Python’s threading module by releasing the GIL while processing an image in tesseract. tesserocr is designed to be Pillow-friendly but can also be used with image files instead.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}tesserocr>0:graphics/py-tesserocr@${PY_FLAVOR}
To install the port:
cd /usr/ports/graphics/py-tesserocr/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/py-tesserocr
  • pkg install py312-tesserocr
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 py312-tesserocr listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-tesserocr
Package flavors (<flavor>: <package>)
  • py312: py312-tesserocr
distinfo:
TIMESTAMP = 1782062331 SHA256 (sirfz-tesserocr-v2.10.0_GH0.tar.gz) = 3c710d8bcea39716755546b0b5fe847e90e73fb9444839aa6175002f4f1d700c SIZE (sirfz-tesserocr-v2.10.0_GH0.tar.gz) = 75114

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. py312-cysignals>0 : devel/py-cysignals@py312
  4. pkgconf>=1.3.0_1 : devel/pkgconf
  5. py312-cython>=3.2.4 : lang/cython@py312
  6. python3.12 : lang/python312
  7. py312-build>=0 : devel/py-build@py312
  8. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. py312-cysignals>0 : devel/py-cysignals@py312
  2. python3.12 : lang/python312
Library dependencies:
  1. libtesseract.so : graphics/tesseract
  2. libleptonica.so : graphics/leptonica
This port is required by:
for Run
  1. graphics/scantpaper

Configuration Options:
No options to configure
Options name:
graphics_py-tesserocr
USES:
compiler:c++17-lang pkgconfig python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/sirfz/tesserocr/tar.gz/v2.10.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.10.0
03 Jul 2026 17:41:33
commit hash: f36130b65a704e1f58193fffc0de524f5593fca5commit hash: f36130b65a704e1f58193fffc0de524f5593fca5commit hash: f36130b65a704e1f58193fffc0de524f5593fca5commit hash: f36130b65a704e1f58193fffc0de524f5593fca5 files touched by this commit
Christoph Moench-Tegeder (cmt) search for other commits by this committer
graphics/py-tesserocr: new port

Pillow-friendly, Python wrapper around tesseract-ocr API using Cython
https://github.com/sirfz/tesserocr

Number of commits found: 1