mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 19:59:56 +02:00
📦 v0.0.5
This commit is contained in:
parent
e6ee02c148
commit
80795c9e6c
3 changed files with 10 additions and 3 deletions
|
@ -5,7 +5,13 @@ Versioned according to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## Unreleased
|
## 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
|
* fix contour bug, #40
|
||||||
|
|
||||||
|
@ -26,6 +32,7 @@ Fixed:
|
||||||
Initial release
|
Initial release
|
||||||
|
|
||||||
<!-- link-labels -->
|
<!-- link-labels -->
|
||||||
|
[0.0.5]: ../../compare/v0.0.5...v0.0.4
|
||||||
[0.0.4]: ../../compare/v0.0.4...v0.0.3
|
[0.0.4]: ../../compare/v0.0.4...v0.0.3
|
||||||
[0.0.3]: ../../compare/v0.0.3...v0.0.2
|
[0.0.3]: ../../compare/v0.0.3...v0.0.2
|
||||||
[0.0.2]: ../../compare/v0.0.2...v0.0.1
|
[0.0.2]: ../../compare/v0.0.2...v0.0.1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "0.0.4",
|
"version": "0.0.5",
|
||||||
"git_url": "https://github.com/qurator-spk/eynollah",
|
"git_url": "https://github.com/qurator-spk/eynollah",
|
||||||
"tools": {
|
"tools": {
|
||||||
"ocrd-eynollah-segment": {
|
"ocrd-eynollah-segment": {
|
||||||
|
|
|
@ -37,7 +37,7 @@ class EynollahProcessor(Processor):
|
||||||
page_id = input_file.pageId or input_file.ID
|
page_id = input_file.pageId or input_file.ID
|
||||||
LOG.info("INPUT FILE %s (%d/%d) ", page_id, n + 1, len(self.input_files))
|
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))
|
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)
|
self.add_metadata(pcgts)
|
||||||
page = pcgts.get_Page()
|
page = pcgts.get_Page()
|
||||||
# XXX loses DPI information
|
# XXX loses DPI information
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue