Skip to content

cranpun/tesseract-python-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

docker container for tesseract by python (pytesseract)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published