Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 540 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 540 Bytes

Dockerfile for tesseract

Description

dockerfile for building container includes

  • tesseract-ocr
  • tessdata for english
  • tessdata for japanese
  • tessdata for hocr

Example

basic usage

$ docker run --rm -v $HOME/docker-vol:/docker-vol -w /docker-vol gnkm/alpine-tesseract-jpn tesseract image-file output-file -l jpn

use white list

$ cp numbers.conf $HOME/docker-vol/
$ docker run --rm -v $HOME/docker-vol:/docker-vol -w /docker-vol gnkm/alpine-tesseract-jpn tesseract image-file output-file -l jpn numbers.conf