Skip to content

Commit

Permalink
fix regression in 7e1f189..d41993d
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Mar 29, 2022
1 parent 00f80bd commit c523b8c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Versioned according to [Semantic Versioning](http://semver.org/).

## Unreleased

Fixed:

* extract-lines/words: move extra parameters where they belong

## [0.1.17] - 2022-03-12

Changed:
Expand Down
60 changes: 30 additions & 30 deletions ocrd_segment/ocrd-tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,36 @@
"type": "boolean",
"default": true,
"description": "Add alpha channels with segment masks to the images"
},
"output-types": {
"type": "array",
"default": ["text", "json", "xslx"],
"items": {
"type": "string",
"enum": ["text", "json", "xslx"]
},
"description": "What kind of files to extract besides the line image itself (text/json files for each line, xlsx per page)."
},
"library-convention": {
"type": "string",
"enum": ["slub", "sbb", "none"],
"default": "none",
"description": "For xlsx extraction, to make line images hyperlinked, use this scheme in reconstructing presentation URLs of original pages. Libraries have different conventions in their METS files. Set to none to disable."
},
"min-line-length": {
"type": "number",
"default": 5,
"description": "Only extract lines with at least this many characters."
},
"min-line-width": {
"type": "number",
"default": 200,
"description": "Only extract lines that are at least this wide (in px)."
},
"min-line-height": {
"type": "number",
"default": 30,
"description": "Only extract lines that are at least this high (in px)."
}
}
},
Expand Down Expand Up @@ -346,36 +376,6 @@
"type": "boolean",
"default": true,
"description": "Add alpha channels with segment masks to the images"
},
"output-types": {
"type": "array",
"default": ["text", "json", "xslx"],
"items": {
"type": "string",
"enum": ["text", "json", "xslx"]
},
"description": "What kind of files to extract besides the line image itself (text/json files for each line, xlsx per page)."
},
"library-convention": {
"type": "string",
"enum": ["slub", "sbb", "none"],
"default": "none",
"description": "For xlsx extraction, to make line images hyperlinked, use this scheme in reconstructing presentation URLs of original pages. Libraries have different conventions in their METS files. Set to none to disable."
},
"min-line-length": {
"type": "number",
"default": 5,
"description": "Only extract lines with at least this many characters."
},
"min-line-width": {
"type": "number",
"default": 200,
"description": "Only extract lines that are at least this wide (in px)."
},
"min-line-height": {
"type": "number",
"default": 30,
"description": "Only extract lines that are at least this high (in px)."
}
}
},
Expand Down

0 comments on commit c523b8c

Please sign in to comment.