openpaperwork / pyocr

A Python wrapper for Tesseract and Cuneiform -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/pyocr
930 stars 152 forks source link

Heroku: language file search paths #9

Closed ErikEvenson closed 11 years ago

ErikEvenson commented 11 years ago

My language data is not in any of the paths specified in TESSDATA_POSSIBLE_PATHS. Is there a way I can add to this list of search paths?

jflesch commented 11 years ago

Yep. By telling me the path to add, or by sending me a pull request adding the path.

ErikEvenson commented 11 years ago

Thanks. I'm using tesseract on heroku with https://github.com/marcolinux/heroku-buildpack-libraries as a buildpack. This results in a tessdata path of:

/app/vendor/tesseract-ocr/tessdata

If you could add that it would be great. Thanks.

jflesch commented 11 years ago

Done ( 7fb3758435b0f89eea18876a0d0dd17e3f31aa07 ).

I have no Pyocr release planned for a long time (I didn't get any other bug report yet, and I have all the functionnalities that I need). Do you need me to do a new release, or is it fine as-is for you ?

ErikEvenson commented 11 years ago

No need to release for me -- I'll just use the commit until you decide to do another release. Thanks!

jflesch commented 11 years ago

You're welcome :)