Port details on branch 2022Q2 |
- py-pyocr Python wrapper for OCR engines (Tesseract, Cuneiform, etc)
- 0.8.4 graphics =0 0.8.4Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2018-07-28 18:36:30
- Last Update: 2024-02-29 07:18:32
- Commit Hash: 5d4139f
- Also Listed In: python
- License: GPLv3
- WWW:
- https://gitlab.gnome.org/World/OpenPaperwork/pyocr
- Description:
- PyOCR is an optical character recognition (OCR) tool wrapper for python. That
is, it helps using various OCR tools from a Python program.
It has been tested only on GNU/Linux systems. It should also work on similar
systems (*BSD, etc). It may or may not work on Windows, MacOSX, etc.
Supported OCR tools:
* Libtesseract (Python bindings for the C API)
* Tesseract (wrapper: fork + exec)
* Cuneiform (wrapper: fork + exec)
Features:
* Supports all the image formats supported by Pillow, including jpeg, png, gif,
bmp, tiff and others
* Various output types: text only, bounding boxes, etc.
* Orientation detection (Tesseract and libtesseract only)
* Can focus on digits only (Tesseract and libtesseract only)
* Can save and reload boxes in hOCR format
* PDF generation (libtesseract only)
- ¦ ¦ ¦ ¦
- 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}pyocr>0:graphics/py-pyocr@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/graphics/py-pyocr/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/py-pyocr
- pkg install py39-pyocr
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 py39-pyocr listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pyocr
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1694938031
SHA256 (pyocr-0.8.4.tar.gz) = 1a3e9d7f8ad8dd0780f4145529d3076501a60dd71d8d6366339d726deed4df43
SIZE (pyocr-0.8.4.tar.gz) = 71758
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:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-setuptools-scm>0 : devel/py-setuptools-scm@py39
- py39-setuptools_scm_git_archive>0 : devel/py-setuptools_scm_git_archive@py39
- py39-wheel>0 : devel/py-wheel@py39
- gmake>=4.3 : devel/gmake
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pillow>=7.0.0 : graphics/py-pillow@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- deskutils/py-paperless
- for Run
-
- deskutils/py-paperless
- math/py-mathics
Configuration Options:
- No options to configure
- Options name:
- graphics_py-pyocr
- USES:
- gmake python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|