Skip to content

Commit

Permalink
WIP Debug those pesky locale issues with click/tesseract
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jun 18, 2019
1 parent 99a3b26 commit a2defa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ test-cli: test/assets
$(PIP) install -e .
rm -rfv test-workspace
cp -rv test/assets/kant_aufklaerung_1784 test-workspace
export LC_ALL=C.UTF-8; cd test-workspace/data && \
echo "LC_ALL=$$LC_ALL"
echo "LANG=$$LANG"
cd test-workspace/data && \
ocrd-tesserocr-segment-region -l DEBUG -m mets.xml -I OCR-D-IMG -O OCR-D-SEG-BLOCK ; \
ocrd-tesserocr-segment-line -l DEBUG -m mets.xml -I OCR-D-SEG-BLOCK -O OCR-D-SEG-LINE ; \
ocrd-tesserocr-recognize -l DEBUG -m mets.xml -I OCR-D-SEG-LINE -O OCR-D-TESS-OCR
Expand Down

0 comments on commit a2defa5

Please sign in to comment.