Skip to content

supistar/docker-heroku-python3-opencv-tesseract

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for OCR and OpenCV service with Python3 on Heroku

This docker image has Python3, OpenCV and Tesseract features for Heroku.

Docker Hub

Versions

  • Python3: 3.5.1 (based heroku/python:3 docker image)
  • OpenCV: 3.1.0
  • Tesseract: 3.04.01
  • Tessdata: 3.04.00
  • Leptonica: 1.73

How to use this docker image

  1. Include this image by FROM command
  2. Place your Python app/wsgi requirements.txt file on project root.
  3. Run your app/wsgi application by CMD command

Here is one of Dockerfile sample:

# Base image
FROM supistar/docker-heroku-python3-opencv-tesseract

# Add code
ADD ./webapp /app/user/webapp/

# Run application
WORKDIR /app/user/webapp
CMD gunicorn --bind 0.0.0.0:$PORT main:app --log-file -

References

About

Docker image for Heroku includes Python3, OpenCV and Tesseract feature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%