HUB
Sign inSign up

supistar/docker-heroku-python3-opencv-tesseract

By supistar

•Updated over 10 years ago

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

Image
0

778

supistar/docker-heroku-python3-opencv-tesseract repository overview

⁠Docker image for OCR and OpenCV service with Python3 on Heroku

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

⁠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 -
Tag summary
Recent tags
Content type
Image
Digest
Size
2.9 GB
Last updated
over 10 years ago
docker pull supistar/docker-heroku-python3-opencv-tesseract:latest