OCR-D / core

Collection of OCR-related python tools and wrappers from @OCR-D
https://ocr-d.de/core/
Apache License 2.0
118 stars 31 forks source link

File group validation regression? #422

Closed kba closed 4 years ago

kba commented 4 years ago

@j23d reports:

> (venv) ocrd@b-lx0064:/data/ocrd_tests/wp-one$ ocrd process -l DEBUG \
> > "tesserocr-segment-region -I DEFAULT -O OCR-D-SEG-BLOCK" \
> > "tesserocr-segment-line -I OCR-D-SEG-BLOCK -O OCR-D-SEG-LINE" \
> > "tesserocr-segment-word -I OCR-D-SEG-LINE -O OCR-D-SEG-WORD" \
> > "tesserocr-recognize -I OCR-D-SEG-WORD -O OCR-D-OCR-TESS"

> Exception: Invalid task sequence input/output file groups: ['Input 
> file group not contained in METS or produced by previous steps: 
> OCR-D-SEG-BLOCK', "Output file group specified multiple times: 
> ['DEFAULT']", "Output file group specified multiple times: 
> ['DEFAULT']", "Output file group specified multiple times: ['DEFAULT']"]
kba commented 4 years ago

Bug, I wrote input where I meant output. https://github.com/OCR-D/core/pull/424 fixes it.