mittagessen / kraken

OCR engine for all the languages
http://kraken.re
Apache License 2.0
688 stars 125 forks source link

Update import statement for XMLPage #560

Closed stweil closed 6 months ago

stweil commented 7 months ago

This fixes an error which is also reported by CI:

E   ImportError: cannot import name 'XMLPage' from 'kraken.containers' (/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/kraken/containers.py)
stweil commented 7 months ago

I still get another import issue for Image and TorchSeqRecognizer in kraken/rpred.py, see CI report. That can be fixed by executing the related import statements unconditionally.

mittagessen commented 6 months ago

It should be fixed now.