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:latest <command> [options]tag: Autotag a PDF (PDF → PDF)template: Create a PDFix layout template JSON (PDF → JSON)
| 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:latest \
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 trueCreate a layout template JSON:
docker run --rm -v "$(pwd)":/data -w /data pdfix/pdf-accessibility-docling:latest \
template --name "${LICENSE_NAME}" --key "${LICENSE_KEY}" \
-i /data/input.pdf -o /data/output.jsonThe image includes the Docling-Layout model and runs fully offline (CPU).
For PDFix SDK licensing or issues, contact support@pdfix.net.