This package provides a custom Heroku buildpack providing the Tesseract OCR binary and all the required libraries to Heroku apps. Training data for English language is provided.
The first step consists in allowing your Heroku app to use multiple buildpacks. Heroku natively supports multiple buildpacks per app.
-
setup your app as
heroku buildpacks:set heroku/LANG heroku buildpacks:add https://github.com/pathwaysmedical/heroku-buildpack-tesseract
where
LANG
is the language used by your app (e.g.,ruby
,python
, ornodejs
). A complete list of Heroku buildpacks can be found here. -
you can use the
tesseract
binary in your Heroku app! -
deploy :)
This fork upgrades the Tesseract binary version from 3.04.01 to 4.0
MIT License.
Original work Copyright (c) 2013 Marco Azimonti
Modified work Copyright (c) 2015 Matteo Maggioni
Modified work Copyright (c) 2015 Oswell Chan
Modified work Copyright (c) 2018 Malcolm Patterson