graphics/py-pyocr 0.8.5_1
Python wrapper for OCR engines (Tesseract, Cuneiform, etc)
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3
- Categories
- graphics, python
- Package size
- 66.7 KiB, 330.0 KiB installed
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)
Install
As a binary package — by origin, or by package name:
pkg install graphics/py-pyocr
pkg install py312-pyocr
From the ports tree:
cd /usr/ports/graphics/py-pyocr/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pyocr>0:graphics/py-pyocr
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.8.5_1 | 0.8.5_1 | - | 0.8.5 | 0.8.5_1 |
| FreeBSD:14:quarterly | 0.8.5_1 | 0.8.5_1 | n/a | 0.8.5 | 0.8.5_1 |
| FreeBSD:15:latest | 0.8.5_1 | 0.8.5_1 | n/a | 0.8.5 | 0.8.5 |
| FreeBSD:15:quarterly | 0.8.5_1 | 0.8.5_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.5_1 | 0.8.5_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>0: devel/py-setuptools_scm_git_archive${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
All build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/gmake
- devel/libffi
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-setuptools_scm_git_archive
- devel/py-wheel
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
All run dependencies 55
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- converters/fribidi
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-olefile
- devel/py-packaging
- devel/readline
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/py-pillow
- graphics/tiff
- graphics/webp
- lang/python312
- lang/python315
- lang/tcl86
- math/mpdecimal
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- print/freetype2
- print/harfbuzz
- print/indexinfo
- print/libraqm
- textproc/expat2
- textproc/libxml2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/py-tkinter
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Required by 2
Configuration
No options to configure.
- USES
- gmake python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pyocr-0.8.5.tar.gz | 71843 | eff33d95032426a92640e56fa0d71b496ee531c1d341a15cc610610a7c5eac55 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.