# OCR Framework Dependencies
# Optimized for Python 3.10

# Core Utilities
numpy==1.24.3
requests==2.31.0
PyYAML==6.0.1
python-dotenv==1.0.0

# Image & Document Processing
Pillow==10.0.0
opencv-python==4.8.0.76
scikit-image==0.21.0
einops==0.6.1
pdf2image==1.16.3
python-docx==1.1.0

# Deep Learning (SDK Filters)
# Note: For GPU support, install torch with +cuXXX (e.g. pip install torch==2.0.1+cu117)
torch==2.0.1
torchvision==0.15.2
timm==0.9.2
basicsr==1.4.2
realesrgan==0.3.0

# Server & API (for kaggle_server.py or local deployment)
fastapi==0.103.1
uvicorn==0.23.2
python-multipart==0.0.6
pydantic==2.3.0

# Demo & UI
streamlit==1.28.2
gradio==3.50.2

# Testing & Development
pytest==7.4.3
black==23.9.1
flake8==6.1.0
