This project is discontinued as OCRmyPDF now has an official Docker container, see https://github.com/jbarlow83/OCRmyPDF#installing-the-docker-image
This is a docker container for OCRmyPDF.
docker pull paulstaab/ocrmypdf
To ocr a pdf, call
docker run -t -i -v "</path/to/pdf>:/home/docker/" paulstaab/ocrmypdf \
OCRmyPDF <additional options> <pdf> <out.pdf>
where
</path/to/pdf>
is a placeholder for the absolute path to the pdf,<pdf>
is the name of the pdf file (without it's path),<out.pdf>
is the file to which the ocred document will be written and<additional options>
are optional parameters for OCRmyPDF (seedocker run -t -i paulstaab/ocrmypdf OCRmyPDF -h
)