Commit Graph

248 Commits (test-python-3.11)
 

Author SHA1 Message Date
Mike Gerber 2a8dafc778 💩 Workaround issue #91 (call fix-calamari1-model when running make test) 7 months ago
Gerber, Mike 5379ce3648 ✔️ Test on Python 3.11
See also #77.
7 months ago
Mike Gerber 3cf4887cb4 💩 Add a script fix-calamari1-model to fix regexen in 1.0 models
This is a workaround. Example:

❯ fix-calamari1-model ~/.local/share/ocrd-resources/ocrd-calamari-recognize/qurator-gt4histocr-1.0
0.ckpt.json fixed.
1.ckpt.json fixed.
2.ckpt.json fixed.
3.ckpt.json fixed.
4.ckpt.json fixed.
7 months ago
Mike Gerber 0f92b524da ✒ README: Wrap long line
Wrap the long example call so it will show fully on PyPI.

Fixes gh-81.
7 months ago
Mike Gerber c25c8d0a4f 🧹 Remove workaround for fixed np.str problem in Calamari
Older Calamari version had used deprecated np.str, remove the workaround
for this and require Calamari >= 1.0.6 instead.

See #87.
7 months ago
Mike Gerber c0a4dfde66
Merge pull request #90 from OCR-D/tf_disable_interactive_logs
disable tensorflow/keras print-to-stdout with tf_disable_interactive_…
7 months ago
Mike Gerber 637a08da6a 🐛 Fix recognize.py
config.py's TF_CPP_MIN_LOG_LEVEL was removed but recognize.py not
adapted accordingly. Fix this by removing the use of the variable
there as well.
7 months ago
Konstantin Baierer 823b5923ac disable tensorflow/keras print-to-stdout with tf_disable_interactive_logs, OCR-D/core#1091 7 months ago
Mike Gerber ab9182be1b ✒ README: Use backtick syntax for code block 7 months ago
Mike Gerber b0fb554b31 ✔ CircleCI: Do not test on Python 3.6 anymore (EOL since 2021-12-23)
(See also #90 where it came up.)
7 months ago
Mike Gerber ed7a926ab0 v1.0.6 1 year ago
Mike Gerber 16a79cead6 🐛 Fix installation by keeping protobuf < 4.0 1 year ago
Mike Gerber 3a029ca512 ✔ Do not test on Python 3.11 for now (unsupported) 1 year ago
Mike Gerber 1fcd103d27 ✔ CircleCI: Install TF by explicitly invoking pip on Py 3.11 1 year ago
Mike Gerber 23821cba57 ✔ Do not delete test workspace when DEBUG env variable is set 1 year ago
Mike Gerber 2997a471f5 ✔ CircleCI: Test on Python 3.11, too 1 year ago
Mike Gerber a858144d4d ✔ CircleCI: Install binary OpenCV for Python 3.6 1 year ago
Mike Gerber acfdd20696 Revert "✔ CircleCI: Do not test on Python 3.6 anymore"
This reverts commit 6d022f3c9e.
1 year ago
Mike Gerber 6d022f3c9e ✔ CircleCI: Do not test on Python 3.6 anymore 1 year ago
Mike Gerber 2c54a265a6 ✔ Fix tests to use the new filenames
OCR-D seems to create the files in the output file group with a new
naming scheme (based on file group name and page id); Adjust the tests
accordingly.

It's probably not the best approach to expect certain filenames, and
it would be better to use METS/the OCR-D API to ask for a certain page
and it's file, but for now we use this.
1 year ago
Gerber, Mike 1dcec06c2b 🐛 Fix NumPy dependency (hopefully...) 1 year ago
Gerber, Mike 24c7762353 🐛 Fix syntax error in setup.py 1 year ago
Gerber, Mike 699554dc8a 🐛 Require NumPy < 1.24 due to np.str deprecation/error
NumPy has deprecated np.str (etc.) since NumPy 1.20, and since Numpy
1.24 throws an error. We can't currently update to Calamari 2 (and fix
the problem there if necessary), so stick to NumPy 1.23.x for now.

https://github.com/OCR-D/ocrd_calamari/issues/87
1 year ago
Gerber, Mike c7ad6eb724 📦 v1.0.5 2 years ago
Mike Gerber eb48dcbd84
Merge pull request #76 from bertsky/skip-empty
recognize: skip tiny or bin-empty lines, too
2 years ago
Mike Gerber 91cced4e0d
Merge pull request #80 from mikegerber/fix/readme-no-checkpoint
🧹 README: Do not mention obsolete + unsupported checkpoint parameter
2 years ago
Gerber, Mike 33f5d63373 🧹 README: Do not mention obsolete + unsupported checkpoint parameter
Fixes #79.
2 years ago
Gerber, Mike 3767faeeaf 📝 README-DEV: Update wrt ocrd-tool.json and CI 2 years ago
Gerber, Mike 77ff6df5a4 📦 v1.0.4 2 years ago
Gerber, Mike 9866b06e87 🔐 Use a safe temporary directory for the test workspace 2 years ago
Robert Sachunsky 8c2e4ca76d recognize: skip tiny or bin-empty lines, too 2 years ago
Mike Gerber 395e43c074
Merge pull request #75 from bertsky/recurse-regions
descend to all available TextRegions recursively
2 years ago
Robert Sachunsky 36e513604e descend to all available TextRegions recursively 2 years ago
Gerber, Mike ecb0d67567 ✔️ Handle PAGE XML namespace dynamically and without hardcoding 2 years ago
Gerber, Mike ef63291b5a ✔️ CircleCI: Use a test matrix to test on different Python versions 2 years ago
Gerber, Mike 50877f87be ✔️ Move installing deps to Makefile 2 years ago
Gerber, Mike 97e28a9f67 ✔️ CircleCI: Test using the python:3.6.12 image 2 years ago
Mike Gerber 85f5b685eb
Merge pull request #74 from bertsky/fix-tests-again
test: workaround for core#809
2 years ago
Robert Sachunsky 0f80198892 test: workaround for core#809 2 years ago
Mike Gerber 37ac602d72
git push 2 years ago
Mike Gerber 1eb342ef65
Merge pull request #70 from bertsky/patch-2
add checkpoint_dir content-type, remove checkpoint variant
2 years ago
Robert Sachunsky 5fddd32929 test: use other fileGrp to avoid assets#87 2 years ago
Robert Sachunsky 1f0252d0d7 test: workspace download instead of urllib 2 years ago
Robert Sachunsky 59089fbe89 test: use resmgr for downloading model 2 years ago
Robert Sachunsky 7661662e3e test: fix initLogging 2 years ago
Robert Sachunsky 01312c6369 recognize: delegate to core functions 2 years ago
Robert Sachunsky 13031d585f fix deps 2 years ago
Robert Sachunsky 332d02b13e
adapt to checkpoint_dir only 2 years ago
Robert Sachunsky 5f23c03cd9
recognize: remove checkpoint param in favour of checkpoint_dir alone 2 years ago
Robert Sachunsky 11615be6b2
ocrd-tool.json: add model content-type, remove glob variant 2 years ago