# OPTIONAL OCR engines — never in the core image (requirements.txt). Installed only by
# backend/Dockerfile.ocr, the image the compose profile `ocr` runs as the OCR worker.
# Every entry is permissive; CI's `ocr-license` job runs the license gate over this file's closure:
#   python scripts/license_gate.py --requirements requirements-ocr.txt
# NEVER add Surya, MinerU, marker or anything GPL/AGPL/SSPL.
-r requirements.txt

paddlepaddle==3.3.1           # Apache-2.0 — the CPU wheel. A GPU deployment swaps in paddlepaddle-gpu
                              # from Paddle's own index in its own image; it is never in this file.
paddleocr==3.7.0              # Apache-2.0 — PP-OCRv5, PP-StructureV3, PaddleOCR-VL
pytesseract==0.3.13           # Apache-2.0 — wraps the tesseract binary (Apache-2.0, apt in Dockerfile.ocr)
