mittagessen / kraken

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

How do you use the scripts in contrib/ #490

Closed alix-tz closed 1 year ago

alix-tz commented 1 year ago

Hello!

This is a very "naive" question but here it is: I want to use some of the scripts in contrib/ (such extract_lines.py), is there anyway I can do it in the command line after installing kraken's library? If yes, what is the syntax?

Otherwise, should I just create my own python script and copy extract_lines.py?

mittagessen commented 1 year ago

They get installed in the package dir but aren't linked as entry points so you'd need to find the path yourself (.../lib/python3.x/site-packages/kraken/contrib). Otherwise copying them yourself also works.