Sign inSign up

cranpun/tesseractpython

By cranpun

•Updated over 5 years ago

for tesseract with python (pytesseract)

Image
0

283

cranpun/tesseractpython repository overview

⁠tesseract-python-container

Docker container for tesseract with python (pytesseract).

⁠environment

only docker & docker-compose

⁠how to use

$ docker-compose build # (only first)
$ docker-compose up -d
$ docker-compose exec tesseractpython python /path/to/your/script/on/container

⁠notice

This docker container maps top of git repository directory to /opt/ on container.

⁠how to use tesseract command

If you use tesseract command (without python), run on commandline docker-compose exec tesseractpython tesseract ....

⁠sample

$ docker-compose exec tesseractpython python /opt/sample/sample.py
  # output result of reading samle1.png to sample4.png

$ docker-compose exec tesseractpython tesseract /opt/sample/textsample.png
  # output result of reading sampletext.png

⁠image build

2020-01-07

Tag summary

Content type

Image

Digest

Size

387.4 MB

Last updated

over 5 years ago

docker pull cranpun/tesseractpython