kevin1061517 / python-deploy-tesseract-ocr-to-heroku Goto Github PK
View Code? Open in Web Editor NEWDeploy linebot app with Tesseract-OCR package to Heroku.
License: MIT License
Deploy linebot app with Tesseract-OCR package to Heroku.
License: MIT License
It's working fine in my local environment but I am not able to run it on heroku. When I check the logs (heroku logs --tail --app App
) I am getting this error
raise TesseractError(proc.returncode, get_errors(error_string))
2019-12-04T18:32:59.503205+00:00 app[web.1]: pytesseract.pytesseract.TesseractError:
(1, '/app/.apt/usr/bin/tesseract: /app/vendor/tesseract-ocr/lib/libtiff.so.5: no version
information available (required by /app/.apt/usr/lib/x86_64-linux-gnu/liblept.so.5) Error
opening data file /app/vendor/tesseract-ocr/eng.traineddata Please make sure the TESSDATA_PREFIX
environment variable is set to your "tessdata" directory. Failed
loading language \'eng\' Tesseract couldn\'t load any languages! Could not initialize tesseract.')
Here is my repo can you tell whats going wrong? (The error is either in the app.py file or ocr_core.py)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.