14
0

- Update to version 2.3.0

* Support for Tesseract 4
    + New OCR engines LSTM_ONLY and TESSERACT_LSTM_COMBINED
    + New default tessdata path handling
  * Fixed compilation against Tesseract v3.05.02 which required
    c++11
  * Fallback to 'eng' as default language when default language
    returned by the API is empty

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=3
This commit is contained in:
Mia Herkt
2018-06-26 16:09:05 +00:00
committed by Git OBS Bridge
parent c51923fa89
commit 3251ab8104
5 changed files with 28 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
<services>
<service name="download_files" mode="disabled"/>
</services>

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jun 26 16:07:43 UTC 2018 - 9+suse@cirno.systems
- Update to version 2.3.0
* Support for Tesseract 4
+ New OCR engines LSTM_ONLY and TESSERACT_LSTM_COMBINED
+ New default tessdata path handling
* Fixed compilation against Tesseract v3.05.02 which required
c++11
* Fallback to 'eng' as default language when default language
returned by the API is empty
-------------------------------------------------------------------
Fri Aug 11 12:01:33 UTC 2017 - 9@cirno.systems

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tesserocr
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-tesserocr
Version: 2.2.2
Version: 2.3.0
Release: 0
Summary: A simple, Pillow-friendly, Python wrapper around tesseract-ocr
License: MIT
@@ -27,12 +27,16 @@ Group: Development/Languages/Python
Url: https://github.com/sirfz/tesserocr
Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module six}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: tesseract-ocr-traineddata-english
BuildRequires: tesseract-ocr-traineddata-orientation_and_script_detection
BuildRequires: pkgconfig(tesseract)
Recommends: python-Pillow
%python_subpackages
@@ -55,9 +59,13 @@ module by releasing the GIL while processing an image in tesseract.
%install
%python_install
%check
%python_exec setup.py develop --user
%python_exec -m pytest -v tests
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst
%license LICENSE
%doc README.rst
%{python_sitearch}/*
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f245c85643acaa6c740885c2cb18c6ca2ddb569756fbdeb10bd85a08c0a9fff2
size 53567

3
tesserocr-2.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de1c57808f4a3ca59540750114537246685f447a11b0be1abb15b51680189719
size 54946