Mike Gerber
1fcd103d27
✔ CircleCI: Install TF by explicitly invoking pip on Py 3.11
2 years ago
Mike Gerber
23821cba57
✔ Do not delete test workspace when DEBUG env variable is set
2 years ago
Mike Gerber
2997a471f5
✔ CircleCI: Test on Python 3.11, too
2 years ago
Mike Gerber
a858144d4d
✔ CircleCI: Install binary OpenCV for Python 3.6
2 years ago
Mike Gerber
acfdd20696
Revert "✔ CircleCI: Do not test on Python 3.6 anymore"
...
This reverts commit 6d022f3c9e
.
2 years ago
Mike Gerber
6d022f3c9e
✔ CircleCI: Do not test on Python 3.6 anymore
2 years 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.
2 years ago
Gerber, Mike
1dcec06c2b
🐛 Fix NumPy dependency (hopefully...)
2 years ago
Gerber, Mike
24c7762353
🐛 Fix syntax error in setup.py
2 years 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
2 years 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
3 years ago
Gerber, Mike
ef63291b5a
✔️ CircleCI: Use a test matrix to test on different Python versions
3 years ago
Gerber, Mike
50877f87be
✔️ Move installing deps to Makefile
3 years ago
Gerber, Mike
97e28a9f67
✔️ CircleCI: Test using the python:3.6.12 image
3 years ago
Mike Gerber
85f5b685eb
Merge pull request #74 from bertsky/fix-tests-again
...
test: workaround for core#809
3 years ago
Robert Sachunsky
0f80198892
test: workaround for core#809
3 years ago
Mike Gerber
37ac602d72
git push
3 years ago
Mike Gerber
1eb342ef65
Merge pull request #70 from bertsky/patch-2
...
add checkpoint_dir content-type, remove checkpoint variant
3 years ago
Robert Sachunsky
5fddd32929
test: use other fileGrp to avoid assets#87
3 years ago
Robert Sachunsky
1f0252d0d7
test: workspace download instead of urllib
3 years ago
Robert Sachunsky
59089fbe89
test: use resmgr for downloading model
3 years ago
Robert Sachunsky
7661662e3e
test: fix initLogging
3 years ago
Robert Sachunsky
01312c6369
recognize: delegate to core functions
3 years ago
Robert Sachunsky
13031d585f
fix deps
3 years ago
Robert Sachunsky
332d02b13e
adapt to checkpoint_dir only
3 years ago
Robert Sachunsky
5f23c03cd9
recognize: remove checkpoint param in favour of checkpoint_dir alone
3 years ago
Robert Sachunsky
11615be6b2
ocrd-tool.json: add model content-type, remove glob variant
3 years ago
Gerber, Mike
76b34c50cb
📦 v1.0.3
3 years ago
Gerber, Mike
bacd6747d8
🐛 Fix TensorFlow (and h3py) dependency
...
TF 2.5 works for Python 3.6 + 3.9. Fixes #66 .
3 years ago
Gerber, Mike
34013ddb02
📝 Reduce process() docstring again
4 years ago
Mike Gerber
b4c3b026db
Merge pull request #65 from bertsky/setup-init
...
init from constructor not during process
4 years ago
Mike Gerber
fcd4aba0ff
Merge pull request #64 from bertsky/patch-1
...
requirements: prevent TF 2.5
4 years ago
Robert Sachunsky
4c6d6655e1
improve process() docstring
4 years ago
Robert Sachunsky
3bde7cb37f
init from constructor not process(), use conventional name setup()
4 years ago
Robert Sachunsky
2fd6e536f6
requirements: prevent TF 2.5
4 years ago
Gerber, Mike
da98713e73
📦 v1.0.2
4 years ago
Gerber, Mike
0869386ec4
🐛 Fix word and glyph coordinates
...
Fixes GH-57.
4 years ago
Gerber, Mike
41a48455f8
✔️ Explicitly check for None
...
Explicitly check for None to remove this warning:
test/test_recognize.py::test_word_segmentation
/home/mike/devel/ocrd_calamari/test/test_recognize.py:133: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
assert line
4 years ago
Mike Gerber
3a4013572c
Merge pull request #10 from bertsky/image-features
...
Image features
4 years ago
Gerber, Mike
f4c0fe8570
🐛 Fix small merge merge error (text not checked in test_recognize_should_warn_if_given_rgb_image_and_single_channel_model)
4 years ago