Skip to content

Commit

Permalink
🚧 Remove workaround for #91 and use upstream fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegerber committed Oct 25, 2023
1 parent 6a158f0 commit 4c810ed
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 45 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ install:

$(MODEL):
ocrd resmgr download ocrd-calamari-recognize $@
# Workaround, see #91 https://github.com/OCR-D/ocrd_calamari/issues/91
fix-calamari1-model ~/.local/share/ocrd-resources/ocrd-calamari-recognize/$@

# Download example data (for the README)
example: $(EXAMPLE)
Expand Down
41 changes: 0 additions & 41 deletions ocrd_calamari/fix_calamari1_model.py

This file was deleted.

3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
tensorflow >= 2.5.0
numpy
calamari-ocr == 1.0.*, >= 1.0.6
#calamari-ocr == 1.0.*, >= 1.0.6
calamari-ocr @ git+https://github.com/Calamari-OCR/calamari.git@9c8fb004d4f57b8fa51b82aa499e753589e007fd
setuptools >= 41.0.0 # tensorboard depends on this, but why do we get an error at runtime?
click
ocrd >= 2.54.0
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
entry_points={
"console_scripts": [
"ocrd-calamari-recognize=ocrd_calamari.cli:ocrd_calamari_recognize",
"fix-calamari1-model=ocrd_calamari.fix_calamari1_model:fix_calamari1_model",
]
},
)

0 comments on commit 4c810ed

Please sign in to comment.