From 74305e8741359ab343e9886df25fae0b7c1d34d1 Mon Sep 17 00:00:00 2001 From: Christoph Dyllick-Brenzinger Date: Tue, 5 Aug 2025 23:11:55 +0200 Subject: [PATCH] Update batch.md (#1552) Add two missing available parameters for watcher.py (used with docker): - OCR_LOGLEVEL - OCR_JSON_SETTINGS --- docs/batch.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/batch.md b/docs/batch.md index 798e61d8..a113a0dc 100644 --- a/docs/batch.md +++ b/docs/batch.md @@ -196,6 +196,10 @@ it to a OCRed PDF in `/output/`, and move the processed original to - Define environment variable `OCR_DESKEW` to apply deskew to crooked input PDFs * - `--env PYTHONBUFFERED=1` - This will force `STDOUT` to be unbuffered and allow you to see messages in docker logs +* - `--env OCR_LOGLEVEL='DEBUG'` + - Level of log messages +* - `--env OCR_JSON_SETTINGS={"language":"deu+eng", "rotate_pages": true}` + - A JSON string specifying any other arguments for `ocrmypdf.ocr` ::: This service relies on polling to check for changes to the filesystem.