From 80795c9e6cd557c7d8579c63fc61f6e24f817acc Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Wed, 19 May 2021 11:42:45 +0200 Subject: [PATCH] :package: v0.0.5 --- CHANGELOG.md | 9 ++++++++- qurator/eynollah/ocrd-tool.json | 2 +- qurator/eynollah/processor.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9316123..699cac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,13 @@ Versioned according to [Semantic Versioning](http://semver.org/). ## Unreleased -## [0.0.3] - 2021-05-11 +## [0.0.5] - 2021-05-19 + +Changed: + + * Remove `allow_enhancement` parameter, #42 + +## [0.0.4] - 2021-05-18 * fix contour bug, #40 @@ -26,6 +32,7 @@ Fixed: Initial release +[0.0.5]: ../../compare/v0.0.5...v0.0.4 [0.0.4]: ../../compare/v0.0.4...v0.0.3 [0.0.3]: ../../compare/v0.0.3...v0.0.2 [0.0.2]: ../../compare/v0.0.2...v0.0.1 diff --git a/qurator/eynollah/ocrd-tool.json b/qurator/eynollah/ocrd-tool.json index f6d29db..43bc43e 100644 --- a/qurator/eynollah/ocrd-tool.json +++ b/qurator/eynollah/ocrd-tool.json @@ -1,5 +1,5 @@ { - "version": "0.0.4", + "version": "0.0.5", "git_url": "https://github.com/qurator-spk/eynollah", "tools": { "ocrd-eynollah-segment": { diff --git a/qurator/eynollah/processor.py b/qurator/eynollah/processor.py index 7351a26..1997892 100644 --- a/qurator/eynollah/processor.py +++ b/qurator/eynollah/processor.py @@ -37,7 +37,7 @@ class EynollahProcessor(Processor): page_id = input_file.pageId or input_file.ID LOG.info("INPUT FILE %s (%d/%d) ", page_id, n + 1, len(self.input_files)) pcgts = page_from_file(self.workspace.download_file(input_file)) - print('width %s height %s' % (pcgts.get_Page().imageWidth, pcgts.get_Page().imageHeight)) + LOG.debug('width %s height %s', pcgts.get_Page().imageWidth, pcgts.get_Page().imageHeight) self.add_metadata(pcgts) page = pcgts.get_Page() # XXX loses DPI information