FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.5_10.8.5_1-0.8.50.8.5_1
FreeBSD:14:quarterly0.8.5_10.8.5_1n/a0.8.50.8.5_1
FreeBSD:15:latest0.8.5_10.8.5_1n/a0.8.50.8.5
FreeBSD:15:quarterly0.8.5_10.8.5_1n/an/an/a
FreeBSD:16:latest0.8.5_10.8.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

The full lists below include those, and their dependencies in turn.

All build dependencies 19
All run dependencies 55

Configuration

No options to configure.

USES
gmake python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pyocr-0.8.5.tar.gz71843eff33d95032426a92640e56fa0d71b496ee531c1d341a15cc610610a7c5eac55
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.