mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-27 13:49:53 +02:00
Clean up after ocrd-ocropy-segment's mess
This commit is contained in:
parent
243ddea674
commit
f8f44e990d
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ do_linesegmentation() {
|
||||||
-m mets.xml -I OCR-D-IMG -O OCR-D-SEG-LINE
|
-m mets.xml -I OCR-D-IMG -O OCR-D-SEG-LINE
|
||||||
#ocrd workspace validate mets.xml
|
#ocrd workspace validate mets.xml
|
||||||
|
|
||||||
|
# XXX This leaves copies of the images at the top level of the workspace, because it "downloads" the "remote" files.
|
||||||
|
# Clean it up.
|
||||||
|
find . -maxdepth 1 -name "OCR-D-IMG*" -type f -exec rm -v {} \;
|
||||||
|
|
||||||
# XXX ocrd-tesserocr-segment-line does not seem to produce any line segmentation
|
# XXX ocrd-tesserocr-segment-line does not seem to produce any line segmentation
|
||||||
# XXX mv {ocrd-ocropy-segment,-line}
|
# XXX mv {ocrd-ocropy-segment,-line}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue