mittagessen / kraken

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

Error: Invalid value: No model for en-default.mlmodel found #481

Closed Taghreed7878 closed 1 year ago

Taghreed7878 commented 1 year ago

I'm trying to use kreaken OCR, I followed the instructions in the documentation and git repo:

I also tried a link I found i some previous answer here to download the model manually but I got not found error.

I tried to clone the repo and continue following the instructions but it's the same.

bencomp commented 1 year ago

I have been bitten by this bug in the documentation too. The file that the kraken get ... command downloads is called en_best.mlmodel, not en-default.mlmodel. If you add -m en_best.mlmodel to your third command (which specifies the model's file name), it should work.