Uses Docling-Layout for layout recognition, running fully offline. For PDF output without watermarks, a PDFix SDK license is required.
You need Docker installed. The first run downloads the image and may take longer than later runs.
Mount a folder into the container and run a subcommand:
docker run --rm -v "$(pwd)":/data -w /data pdfix/pdf-accessibility-docling:v1.2.26 <command> [options]
tag: Autotag a PDF (PDF → PDF)template: Create a PDFix layout template JSON (PDF → JSON)tag and template)| Option | Required | Type / expected value | Description |
|---|---|---|---|
--input, -i | yes | Path to an existing .pdf file | Input PDF |
--output, -o | yes | Path for .pdf (tag) or .json (template) | Output file |
--name | no | String (PDFix account license name) | PDFix license name |
--key | no | String (PDFix account license key) | PDFix license key |
--do_image_description | no | Boolean string: true/false, yes/no, 1/0 (default: false) | Alt text for Figure tags |
--do_formula_recognition | no | Boolean string (default: false) | Formula recognition |
--per_page | no | Boolean string (default: false) | Process page by page |
--bbox_overlap | no | Float (default 0.6) | Docling bbox overlap threshold |
Tag a PDF:
docker run --rm -v "$(pwd)":/data -w /data pdfix/pdf-accessibility-docling:v1.2.26 \
tag --name "${LICENSE_NAME}" --key "${LICENSE_KEY}" \
-i /data/input.pdf -o /data/output.pdf \
--do_image_description true --do_formula_recognition true --per_page true
Create a layout template JSON:
docker run --rm -v "$(pwd)":/data -w /data pdfix/pdf-accessibility-docling:v1.2.26 \
template --name "${LICENSE_NAME}" --key "${LICENSE_KEY}" \
-i /data/input.pdf -o /data/output.json
The image includes the Docling-Layout model and runs fully offline (CPU).
For PDFix SDK licensing or issues, contact [email protected].
Content type
Image
Digest
sha256:d472cecab…
Size
6.4 GB
Last updated
about 1 month ago
docker pull pdfix/pdf-accessibility-docling