Tesseract OCR with every language Debian packages, for Swale tasks. Backs the tesseract task.
66
Swale-built image backing the tesseract task definition. It is Debian's own
build of Tesseract, the
open-source OCR engine, with the trained data for every language and script
Debian packages, so a workflow can read scanned pages into text, searchable
PDF, hOCR, TSV, ALTO or PAGE.
debian:13-slimtesseract-ocr and tesseract-ocr-all packages from
Debian 13 (Tesseract 5.5, with 161 languages and scripts), signed and kept
patched by Debian; nothing compiled hereswale (uid 1000)WORKDIR /mnt/workspace, no ENTRYPOINTThe image declares no entrypoint, so a task definition's exec.args are the
full command line: ["tesseract", "<image>", "<output base>", "-l", "eng", "--psm", "3", "txt"]. tesseract --list-langs lists the languages.
Each tag is the version of Tesseract the image packages, such as 5.5.0. A
rebuild that keeps that version, to pick up a fixed base image or wrapper,
adds -r1, -r2, and so on. A tag is never reused; latest follows the
newest publish.
From the repository root:
docker build -t swaleio/tesseract:dev images/tesseract
Merging a change under images/tesseract publishes the image under its next
tag; task definitions reference it by digest.
Built from images/tesseract in the
swaleio/task-definitions repository. For how a task definition
references an image, see the
task definition reference
in the Swale documentation.
The Dockerfile is covered by the MIT License. Tesseract and its language data are Apache-2.0-licensed.
This image also contains software from other projects, each under its own
license. The license texts its Debian packages ship, Tesseract's among them,
are inside the image, in /usr/share/doc/<package>/copyright. Source code for
its GPL and LGPL components:
https://snapshot.debian.org/package/<source-package>/<version>/.
We also provide that source code on request: see
Third-party software.
docker pull swaleio/tesseract:latest