mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-09 19:59:53 +02:00
🚧 Tests: Add some TODOs re data + namespace version changes
This commit is contained in:
parent
027fcd7d75
commit
046e3e8ee3
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ def workspace():
|
|||
subprocess.call(['convert', ff, '-threshold', '50%', ff])
|
||||
|
||||
# Remove GT Words and TextEquivs, to not accidently check GT text instead of the OCR text
|
||||
# XXX Review data again
|
||||
# XXX Make this more robust against namespace version changes
|
||||
for of in workspace.mets.find_files(fileGrp="OCR-D-GT-SEG-LINE"):
|
||||
workspace.download_file(of)
|
||||
for to_remove in ["//pc:Word", "//pc:TextEquiv"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue