graphics/py-pyocr 0.8.5 DragonFly
Python wrapper for OCR engines (Tesseract, Cuneiform, etc)
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv3
- Categories
- graphics, python
- Package size
- 62.6 KiB, 345.7 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)
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | graphics/py-pyocr | 0.8.5 |
| FreeBSD | graphics/py-pyocr | 0.8.5_1 |
| HardenedBSD | graphics/py-pyocr | 0.8.5_1 |
| GhostBSD | graphics/py-pyocr | 0.8.5_1 |
Install
Binary package:
pkg install py311-pyocr
From DPorts:
cd /usr/dports/graphics/py-pyocr && make install clean