Giter VIP home page Giter VIP logo

heroku-buildpack-tesseract's Introduction

heroku-buildpack-tesseract

Added the libraries to use Tesseract on Heroku

This buildpack is built to be used through heroku-buildpack-multi. In your app you need to:

heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi

Then, create a .buildpacks file inside your app:

https://github.com/heroku/_YOUR_MAIN_BUILDPACK
https://github.com/marcolinux/heroku-buildpack-tesseract

See the documentation of heroku-build-multi for a detailed explanation how to use it.

Build on Vulcan

A script to build on Vulcan is available under the /utils folder. it is necessary to create beforehands a vulcan build server.

gem install vulcan
vulcan create _your_vulcan_server_

Configuration

A variable need to be added containing the full path of the tar.gz file with the libraries compile with Vulcan

heroku labs:enable user-env-compile
heroku config:set TESSERACT_OCR_REMOTE=https://s3.amazonaws.com/_your_builded_libs.tar.gz

If you want to access the libraries compiled with Vulcan and hosted on Heroku Vulcan server, it is possible with a similar configuration (the path is the result of the vulcan build process).

heroku labs:enable user-env-compile
heroku config:set TESSERACT_OCR_REMOTE=http://_your_vulcan_server_.herokuapp.com/output/_compiled_hash

An optional variable can be set for download additional languages than English

heroku config:set TESSERACT_OCR_LANGUAGES=jpn,ita

License

MIT License. Copyright 2013 Marco Azimonti.

heroku-buildpack-tesseract's People

Contributors

achanda101 avatar almilo avatar skeller1 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.