Home

Awesome

Heroku Buildpack Tesseract

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.

Configuration

The first step consists in allowing your Heroku app to use multiple buildpacks. Heroku natively supports multiple buildpacks per app.

  1. 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, or nodejs). A complete list of Heroku buildpacks can be found here.

  2. you can use the tesseract binary in your Heroku app!

  3. deploy :)

Note

This fork upgrades the Tesseract binary version from 3.04.01 to 4.0

License

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