14
0

Accepting request 626383 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/626383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytesseract?expand=0&rev=2
This commit is contained in:
2018-07-31 14:01:08 +00:00
committed by Git OBS Bridge
2 changed files with 19 additions and 14 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 29 12:17:05 UTC 2018 - jengelh@inai.de
- Fix some grammar issues and replace future plans by current state.
-------------------------------------------------------------------
Thu May 24 17:39:43 UTC 2018 - toddrme2178@gmail.com

View File

@@ -20,8 +20,8 @@
Name: python-pytesseract
Version: 0.2.0
Release: 0
Summary: Python wrapper for google's Tesseract-OCR
License: GPL-3.0
Summary: Python wrapper for Google's Tesseract-OCR
License: GPL-3.0-only
Group: Development/Languages/Python
Url: https://github.com/madmaze/python-tesseract
Source: https://files.pythonhosted.org/packages/source/p/pytesseract/pytesseract-%{version}.tar.gz
@@ -32,28 +32,28 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module Pillow}
BuildRequires: pkgconfig(tesseract)
BuildRequires: tesseract-traineddata-eng
BuildRequires: tesseract-traineddata-deu
BuildRequires: tesseract-traineddata-eng
BuildRequires: pkgconfig(tesseract)
# /SECTION
Requires: python-Pillow
Requires: pkgconfig(tesseract)
Requires: tesseract-traineddata-eng
Requires: tesseract-traineddata-deu
Requires: tesseract-traineddata-eng
Requires: pkgconfig(tesseract)
BuildArch: noarch
%python_subpackages
%description
Python-tesseract is an optical character recognition (OCR) tool for python.
That is, it will recognize and "read" the text embedded in images.
Python-tesseract is an optical character recognition (OCR) tool for Python,
that is, it will recognize and "read" the text embedded in images.
Python-tesseract is a wrapper for `Google's Tesseract-OCR Engine`_. It is also useful as a
stand-alone invocation script to tesseract, as it can read all image types
supported by the Python Imaging Library, including jpeg, png, gif, bmp, tiff,
and others, whereas tesseract-ocr by default only supports tiff and bmp.
Additionally, if used as a script, Python-tesseract will print the recognized
text in stead of writing it to a file. Support for confidence estimates and
Python-tesseract is a wrapper for Google's Tesseract-OCR Engine. It can be used
as a stand-alone invocation script to tesseract, as it can read all image types
supported by the Python Imaging Library, including JPEG, PNG, GIF, BMP, TIFF,
and others, whereas tesseract-ocr, by default, only supports TIFF and BMP.
Additionally, if used as a script, python-tesseract will print the recognized
text instead of writing it to a file. There is no support for confidence estimates and
bounding box data is planned for future releases.
%prep