ocropus / hocr-tools

Tools for manipulating and evaluating the hOCR format for representing multi-lingual OCR results by embedding them into HTML.
Other
371 stars 79 forks source link

Fix tests #150

Closed zuphilip closed 5 years ago

zuphilip commented 5 years ago

The newest build shows two test errors:

# Testing ./hocr-combine/test-hocr-combine.tsht
1..2
ok 1 - Executed: hocr-combine ../testdata/sample.html ../testdata/sample.html
not ok 2 - check whether number ocr_lines in self-combined result is doubled ('74' != '111')

and

$ pycodestyle hocr-* setup.py
hocr-extract-images:66:20: E225 missing whitespace around operator
hocr-extract-images:66:23: E701 multiple statements on one line (colon)
The command "pycodestyle hocr-* setup.py" exited with 1.

which should be fixed.