...
Code Block |
---|
heroku config:set TESSDATA_PREFIX= /app/.apt/usr/share/tesseract-ocr/4.00/tessdata |
This solution from: https://towardsdatascience.com/deploy-python-tesseract-ocr-on-heroku-bbcc39391a8d
Verify tesseract install
(These checks should also be covered by our system_env_spec)
In a heroku dyno with heroku run bash
:
...