diff --git a/CHANGELOG.md b/CHANGELOG.md index cb1e5ac..41fe8e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,18 @@ Versioned according to [Semantic Versioning](http://semver.org/). ## Unreleased +## [0.0.2] - 2021-05-04 + +Fixed: + + * prevent negative coordinates for textlines in marginals + * fix a bug in the contour logic, #8 + * the binarization model is added into the models and now binarization of input can be done at the first stage of eynollah's pipline. This option can be turned on by -ib (-input_binary) argument. This is suggested for very dark or bright documents + ## [0.0.1] - 2021-04-22 Initial release +[0.0.1]: ../../compare/v0.0.2...v0.0.1 [0.0.1]: ../../compare/HEAD...v0.0.1 diff --git a/qurator/eynollah/ocrd-tool.json b/qurator/eynollah/ocrd-tool.json index 01d48fa..2723b81 100644 --- a/qurator/eynollah/ocrd-tool.json +++ b/qurator/eynollah/ocrd-tool.json @@ -1,5 +1,5 @@ { - "version": "0.0.1", + "version": "0.0.2", "git_url": "https://github.com/qurator-spk/eynollah", "tools": { "ocrd-eynollah-segment": { diff --git a/setup.py b/setup.py index a54bb58..9abf158 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,13 @@ from setuptools import setup, find_packages +from json import load install_requires = open('requirements.txt').read().split('\n') +with open('ocrd-tool.json', 'r', encoding='utf-8') as f: + version = load(f)['version'] setup( name='eynollah', - version='0.0.1', + version=version, long_description=open('README.md').read(), long_description_content_type='text/markdown', author='Vahid Rezanezhad',