BSD Ports

graphics/py-tesserocr 2.11.0 FreeBSD

Pillow-friendly, Python wrapper around tesseract-ocr API using Cython

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
2914c06f01
License
MIT
Categories
graphics, python
Package size
139.0 KiB, 561.7 KiB installed

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.

Install

Binary package:

pkg install py312-tesserocr

From the ports tree:

cd /usr/ports/graphics/py-tesserocr/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-tesserocr>0:graphics/py-tesserocr

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:latest2.11.02.11.0--2.11.0
FreeBSD:14:quarterly2.11.02.11.0n/a-2.11.0
FreeBSD:15:latest2.11.02.11.0n/a--
FreeBSD:15:quarterly2.11.02.11.0n/an/an/a
FreeBSD:16:latest2.11.02.11.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Library 2

Runtime 1

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

Build dependencies 63
Run dependencies 56
Required by 1

Configuration

No options to configure.

USES
compiler:c++17-lang pkgconfig python
Service scripts
none

Files

pkg-plist 9
  • %%PYTHON_SITELIBDIR%%/tesserocr-.dist-info/LICENSE
  • %%PYTHON_SITELIBDIR%%/tesserocr-.dist-info/METADATA
  • %%PYTHON_SITELIBDIR%%/tesserocr-.dist-info/RECORD
  • %%PYTHON_SITELIBDIR%%/tesserocr-.dist-info/WHEEL
  • %%PYTHON_SITELIBDIR%%/tesserocr-.dist-info/top_level.txt
  • %%PYTHON_SITELIBDIR%%/tesserocr/__init__.py
  • %%PYTHON_SITELIBDIR%%/tesserocr/__pycache__/__init__.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/tesserocr/__pycache__/__init__.pyc
  • %%PYTHON_SITELIBDIR%%/tesserocr/tesserocr.so
distinfo 1
FileSizeSHA256
sirfz-tesserocr-v2.11.0_GH0.tar.gz75293c3c14faff8af59172c28f9d0dc4a8ef18de5cba939e03ca0fd4c09e407cc6315

Commit history 2

DateCommitCreditsLog message
2914c06f01 Christoph Moench-Tegeder graphics/py-tesserocr: update to 2.11.0
Release Notes: https://github.com/sirfz/tesserocr/releases/tag/v2.11.0
f36130b65a Christoph Moench-Tegeder graphics/py-tesserocr: new port
Pillow-friendly, Python wrapper around tesseract-ocr API using Cython https://github.com/sirfz/tesserocr