pull/42/head
vahid 4 years ago
commit aa2e91641a

@ -5,9 +5,18 @@ Versioned according to [Semantic Versioning](http://semver.org/).
## Unreleased ## 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 ## [0.0.1] - 2021-04-22
Initial release Initial release
<!-- link-labels --> <!-- link-labels -->
[0.0.1]: ../../compare/v0.0.2...v0.0.1
[0.0.1]: ../../compare/HEAD...v0.0.1 [0.0.1]: ../../compare/HEAD...v0.0.1

@ -1,5 +1,5 @@
{ {
"version": "0.0.1", "version": "0.0.2",
"git_url": "https://github.com/qurator-spk/eynollah", "git_url": "https://github.com/qurator-spk/eynollah",
"tools": { "tools": {
"ocrd-eynollah-segment": { "ocrd-eynollah-segment": {

@ -1,10 +1,13 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
from json import load
install_requires = open('requirements.txt').read().split('\n') install_requires = open('requirements.txt').read().split('\n')
with open('ocrd-tool.json', 'r', encoding='utf-8') as f:
version = load(f)['version']
setup( setup(
name='eynollah', name='eynollah',
version='0.0.1', version=version,
long_description=open('README.md').read(), long_description=open('README.md').read(),
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
author='Vahid Rezanezhad', author='Vahid Rezanezhad',

Loading…
Cancel
Save