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 Thu May 24 17:39:43 UTC 2018 - toddrme2178@gmail.com

View File

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