1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-17 23:59:59 +02:00

dinglehopper: Support disabling metrics in the OCR-D interface

This commit is contained in:
Gerber, Mike 2020-06-09 18:29:59 +02:00
parent f699697eb3
commit 668de758a0
3 changed files with 22 additions and 2 deletions

View file

@ -57,6 +57,13 @@ This generates HTML and JSON reports in the `OCR-D-OCR-TESS-EVAL` filegroup.
![dinglehopper displaying metrics and character differences](.screenshots/dinglehopper.png?raw=true)
You may also want to disable metrics and the green-red color scheme by
parameter:
~~~
ocrd-dinglehopper -I ABBYY-FULLTEXT,OCR-D-OCR-CALAMARI -O OCR-D-OCR-COMPARE-ABBYY-CALAMARI -p '{"metrics": false}'
~~~
Testing
-------
Use `pytest` to run the tests in [the tests directory](qurator/dinglehopper/tests):