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.
Tessseract version is "tesseract 4.1.1-rc2-5-gcb76"
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
LANG is the language used by your app (e.g.,
nodejs). A complete list of Heroku buildpacks can be found here.
you can use the
tesseract binary in your Heroku app!
This fork upgrades the Tesseract binary version from 3.04.01 to 4.1
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
Modified work Copyright (c) 2019 Dmitriy Beseda
Copy the snippet above into CLI.