You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.
The same error results if cuneiform is the engine, so apparently the error is not coming from the engine. Is ocrdjvu enforcing a certain image property, such as DPI? I see no image requirements in the manpage, so certainly It would be useful if the error message would list the requirements, and ideally indicate the unmet ones.
The text was updated successfully, but these errors were encountered:
Yes, the warning comes from ocrodjvu itself. I agree that the message is rather obscure.
By default, ocrodjvu passes only page's mask to the OCR engine. (See the --render option in the manpage.)
The warning is emitted if there was no mask at all for this page.
Every document I receive from a particular source is deemed "unsuitable" by
ocrodjvu
and results in a session that looks like this:$ ocrodjvu --debug --engine=tesseract -l eng --in-place document.djvu
Processing 'document.djvu':
No image suitable for OCR.
Intermediate files were left in the '/tmp/ocrodjvu.ErLquU' directory.
The same error results if
cuneiform
is the engine, so apparently the error is not coming from the engine. Is ocrdjvu enforcing a certain image property, such as DPI? I see no image requirements in the manpage, so certainly It would be useful if the error message would list the requirements, and ideally indicate the unmet ones.The text was updated successfully, but these errors were encountered: