jwilk-archive / ocrodjvu

OCR for DjVu
GNU General Public License v2.0
44 stars 19 forks source link

Unclear origin of OCR engine messages when using -j #42

Open jwilk opened 2 years ago

jwilk commented 2 years ago

In https://bugs.debian.org/906133, @jsbien noticed that if you use multiple OCR threads (say, -j 3), and the OCR engine emits a message, it isn't clear which page triggered the message:

tesseract: Tesseract Open Source OCR Engine v4.0.0-beta.3-249-g607e with Leptonica
tesseract: Page 1
tesseract: no best words!!
tesseract: no best words!!
tesseract: no best words!!
- Page #90
- Page #91
- Page #92
tesseract: Tesseract Open Source OCR Engine v4.0.0-beta.3-249-g607e with Leptonica
tesseract: Page 1
tesseract: no best words!!
tesseract: no best words!!
tesseract: no best words!!
tesseract: no best words!!
tesseract: no best words!!
tesseract: no best words!!
tesseract: no best words!!
- Page #93
- Page #94