Update batch.md (#1552)

Add two missing available parameters for watcher.py (used with docker):
- OCR_LOGLEVEL
- OCR_JSON_SETTINGS
This commit is contained in:
Christoph Dyllick-Brenzinger
2025-08-05 14:11:55 -07:00
committed by GitHub
parent d6b069d3fa
commit 74305e8741
+4
View File
@@ -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.