# 简历解析与报告生成依赖包
# 安装命令: pip install -r requirements.txt

# ── 核心依赖 ──────────────────────────────────────────────────────────────────

# PDF 解析（推荐使用 pypdfium2，对扫描件支持最好）
pypdfium2>=4.0.0
pdfplumber>=0.9.0
PyPDF2>=3.0.0

# Word 文档解析
python-docx>=0.8.11

# 图片 OCR 解析
pytesseract>=0.3.10
Pillow>=10.0.0

# ── PDF 报告生成管道依赖 ─────────────────────────────────────────────────────

# PDF 生成（reportlab + pypdf）
reportlab>=4.0.0
pypdf>=3.0.0

# 图表生成（用于报告中的可视化）
matplotlib>=3.7.0

# ── 可选：用于更好的中文 OCR 支持 ───────────────────────────────────────────
# 需要单独安装 Tesseract-OCR 引擎：https://github.com/tesseract-ocr/tesseract
# 安装后取消下面一行的注释（如果需要更好的 OCR）
# pytesseract 已在上面声明

# ── Node.js 依赖（PDF 封面渲染）────────────────────────────────────────────
# 需要在系统上安装 Node.js 和 Playwright：
# npm install -g playwright
# npx playwright install chromium
