dev-python / pyocr

An optical character recognition (OCR) tool wrapper

Official package sites : https://gitlab.gnome.org/World/OpenPaperwork/pyocr/ · https://pypi.org/project/pyocr/ ·

Pyocr is an optical character recognition (OCR) tool wrapper for python. That is, it helps using 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 doesn't work on Windows, MacOSX, etc. Pyocr can be used as a wrapper for google's Tesseract-OCR or Cuneiform. It can read all image types supported by Pillow, including jpeg, png, gif, bmp, tiff, and others. It also support bounding box data.

v0.8.5 :: 0 :: gentoo

Modified
License
GPL-3+
Keywords
~amd64 ~x86
USE flags
test

General

test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

python_targets

python3_10
Build with Python 3.10
python3_11
Build with Python 3.11
python3_12
Build with Python 3.12
python3_13
Build with Python 3.13

app-text / tesseract : An OCR Engine, originally developed at HP, now open source

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-python / pillow : Python Imaging Library (fork)

app-text / paperwork : a personal document manager for scanned documents (and PDFs)

Repository mirror & CI · gentoo
Merge updates from master
Eli Schwartz · gentoo
dev-python/pyocr: remove support for USE=cuneiform
It defaults to tesseract anyway, and cuneiform hasn't been maintained since 2011 and generally doesn't build. Unlikely anyone has any desire to use it. Upstream only continues to support cuneiform at all because they want to "exercise the code" with regard to its support for multiple runtime-switchable backends. cuneiform is being last-rited. In the unlikely event someone was using it, they will be warned to uninstall it and install tesseract instead by the mask. If they really don't want to, they can ignore the mask *and* the pyocr rebuild. In the event that people were using tesseract, they are perfectly fine anyway and don't need to rebuild (but changed-deps and changed-use will both try to rebuild). No revbump. Bug: https://bugs.gentoo.org/937994 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Petr Vaněk · gentoo
dev-python/pyocr: enable py3.13
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Bump to 0.8.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
Rename dev-python/{setuptools_scm → setuptools-scm}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/pyocr: Fix version-related build failure
Closes: https://bugs.gentoo.org/897690 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Bump to 0.8.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/pyocr: add 0.8.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.8.1 bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Remove obsolete values from PYTHON_COMPAT
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Bump to 0.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: update homepage and python
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: update python version
Tested with paperwork Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/pyocr: Remove py2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.7.2 bump
Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.7 bump
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.6 bump
Drop test restrictions, tarball does not provide tests Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Bernard Cafarelli · gentoo
dev-python/pyocr: drop old
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.5.3 bump
Note 0.5.* versions should work with tesseract 4 Package-Manager: Portage-2.3.49, Repoman-2.3.10
Repository mirror & CI · gentoo
Merge updates from master
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.5.2 bump
Update EAPI and python versions Package-Manager: Portage-2.3.44, Repoman-2.3.10
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.5.1 bump
Switch to pypi releases Update metadata links Package-Manager: Portage-2.3.28, Repoman-2.3.9
Bernard Cafarelli · gentoo
dev-python/pyocr: drop old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Bernard Cafarelli · gentoo
dev-python/pyocr: drop old
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Bernard Cafarelli · gentoo
dev-python/pyocr: update PYTHON_COMPAT and upstream remote
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.4.7 bump, update homepage
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.4.6 bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Bernard Cafarelli · gentoo
dev-python/pyocr: drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
T. Malfatti · gentoo
media-libs/portaudio: Version bump
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.4.5 bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Bernard Cafarelli · gentoo
dev-python/pyocr: 0.4.4 bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Bernard Cafarelli · gentoo
dev-python/pyocr: drop old versions
Package-Manager: portage-2.3.2
Bernard Cafarelli · gentoo
dev-python/pyocr: version bump to 0.4.2
Package-Manager: portage-2.3.2
Michał Górny · gentoo
global: Drop dead implementations from PYTHON_COMPAT
Manuel Rüger · gentoo
dev-python/pyocr: Version bump
Package-Manager: portage-2.3.0
Bernard Cafarelli · gentoo
dev-python/pyocr: version bump
Package-Manager: portage-2.2.26
Justin Lecher · gentoo
Convert from virtual/python-imaging to plain dev-python/pillow
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed