mittagessen / kraken

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

Search segmentation model in XDG_BASE_DIR #526

Closed stweil closed 1 year ago

stweil commented 1 year ago

According to the documentation, models are placed in $XDG_BASE_DIR and can be accessed using their name.

While this worked for OCR models, segmentation models were not searched in the kraken config folder. This could be confusing for users.

Now segmentation models can be specified without a path and will be found in the config folder.

Update also the comment for the OCR models.