Skip to content

Heroku Flask-Python app using Tesseract OCR modified to accept image URLs

Notifications You must be signed in to change notification settings

ansonl/secret-harbor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secret-Harbor

Heroku app using Tesseract OCR written in Python and based on the Flask web microframework. Only English and Finnish language are supported.

Quick Start - Push the Button!

Deploy

Configuration

In addition to the default heroku-buildpack-python, this app also requires the custom heroku-buildpack-tesseract.

Heroku natively supports multiple buildpacks per app.

Before deploying the app, you should setup the base buildpack and add the custom buildpack to the app configuration:

heroku buildpacks:set heroku/python
heroku buildpacks:add https://github.com/matteotiziano/heroku-buildpack-tesseract

How to use

Let us assume you have deployed this app in Heroku and you called it your-heroku-app.

The app provides a REST method https://your-heroku-app.herokuapp.com/process: the client provides the input url (text), whereas the REST method returns a JSON object containing the OCR of the input.

Licence

MIT Licence. Anson Liu, using work of Matteo Maggioni

About

Heroku Flask-Python app using Tesseract OCR modified to accept image URLs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%