Skip to content

Commit

Permalink
📦 0.13.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Jul 26, 2021
1 parent c0e1440 commit b37a710
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ Versioned according to [Semantic Versioning](http://semver.org/).

## Unreleased

## [0.13.5] - 2021-07-26

Fixed:

* recognize: prevent invalid empty `Unicode` glyph choices

## [0.13.4] - 2021-07-20

Fixed:
Expand Down Expand Up @@ -334,6 +340,7 @@ Changed:
* Recognition with proper support for textequiv_level, drop `page` level

<!-- link-labels -->
[0.13.5]: ../../compare/v0.13.5...v0.13.4
[0.13.4]: ../../compare/v0.13.4...v0.13.3
[0.13.3]: ../../compare/v0.13.3...v0.13.2
[0.13.2]: ../../compare/v0.13.2...v0.13.1
Expand Down
2 changes: 1 addition & 1 deletion ocrd_tesserocr/ocrd-tool.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.13.4",
"version": "0.13.5",
"git_url": "https://github.com/OCR-D/ocrd_tesserocr",
"dockerhub": "ocrd/tesserocr",
"tools": {
Expand Down
2 changes: 1 addition & 1 deletion ocrd_tesserocr/recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def _process_glyphs_in_word(self, result_it, word, coords, mapping):
conf=glyph_conf))
choice_it = it.GetChoiceIterator()
for choice_no, choice in enumerate(choice_it, 1):
alternative_text = choice.GetUTF8Text()
alternative_text = choice.GetUTF8Text() or ''
alternative_conf = choice.Confidence()/100
if alternative_text == glyph_text:
continue
Expand Down

0 comments on commit b37a710

Please sign in to comment.