Docker container for tesseract with python (pytesseract).
only docker & docker-compose
$ docker-compose build # (only first)
$ docker-compose up -d
$ docker-compose exec tesseractpython python /path/to/your/script/on/container
This docker container maps top of git repository directory to �/opt/
on container.
If you use tesseract command (without python), run on commandline docker-compose exec tesseractpython tesseract ....
$ 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
2020-01-07