kraken: `Failed processing image.png: ndim`

When I run the following command:

kraken -i OCR17plus/Data/Balzac1624_Lettres_btv1b86262420_corrected/png/Balzac1624_Lettres_btv1b86262420_corrected_0042.png results.txt segment -bl -i OCR17plus/Model/Segment/appenzeller.mlmodel ocr -m OCR17plus/Model/HTR/dentduchat.mlmodel

I have the following issue:

[37.7261] Failed processing OCR17plus/Data/Balzac1624_Lettres_btv1b86262420_corrected/png/Balzac1624_Lettres_btv1b86262420_corrected_0042.png: ndim 

The data used is available here: https://github.com/Heresta/OCR17plus

Any idea what the problem could be?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Weird. 0.18.3 works without trouble. Anyway, I’ll apply the fix and pin anyway as there wasn’t a deprecation warning and I can’t find any change log entries back to 0.17 which is the earliest tag that has this change.