# Core
streamlit>=1.50
Pillow>=10.1
requests>=2.31
beautifulsoup4>=4.12

# Image tools
qrcode>=7.4
rembg[cpu]>=2.0.50              # Background Remover (downloads models on first use)
streamlit-image-coordinates>=0.1.9
opencv-python-headless>=4.8     # OCR preprocessing
pytesseract>=0.3.10             # OCR (needs the tesseract binary; see packages.txt)

# Document tools
pypdf>=4.0
fpdf2>=2.7.8
python-docx>=1.1
pdf2docx>=0.5.8
docx2pdf>=0.1.8; sys_platform != "linux"   # DOCX -> PDF via MS Word (Linux uses LibreOffice)
pywin32; sys_platform == "win32"

# Text tools
gTTS>=2.5

# Optional: a second OCR engine. Adds ~2 GB (PyTorch), so it's not installed by default.
# easyocr
