This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
breakpilot-pwa/klausur-service/backend/requirements.txt
BreakPilot Dev ee0c4b859c feat(klausur-service): Add Tesseract OCR, DSFA RAG, TrOCR, grid detection and vocab session store
New modules:
- tesseract_vocab_extractor.py: Bounding-box OCR with multi-PSM pipeline
- grid_detection_service.py: CV-based grid/table detection for worksheets
- vocab_session_store.py: PostgreSQL persistence for vocab sessions
- trocr_api.py: TrOCR handwriting recognition endpoint
- dsfa_rag_api.py + dsfa_corpus_ingestion.py: DSFA RAG corpus search

Changes:
- Dockerfile: Install tesseract-ocr + deu/eng language packs
- requirements.txt: Add PyMuPDF, pytesseract, Pillow
- main.py: Register new routers, init DB pools + Qdrant collections

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 00:00:19 +01:00

41 lines
835 B
Plaintext

fastapi>=0.109.0
uvicorn[standard]>=0.27.0
python-multipart>=0.0.6
pyjwt>=2.8.0
httpx>=0.26.0
python-dotenv>=1.0.0
# BYOEH Dependencies
qdrant-client>=1.7.0
cryptography>=41.0.0
PyPDF2>=3.0.0
PyMuPDF>=1.24.0
# PyTorch CPU-only (smaller, no CUDA needed for Docker on Mac)
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=2.0.0
# Local Embeddings (no API key needed)
sentence-transformers>=2.2.0
# MinIO Object Storage
minio>=7.2.0
# OpenCV for handwriting detection (headless = no GUI, smaller for CI)
opencv-python-headless>=4.8.0
# Tesseract OCR Python binding (requires system tesseract-ocr package)
pytesseract>=0.3.10
Pillow>=10.0.0
# PostgreSQL (for metrics storage)
psycopg2-binary>=2.9.0
asyncpg>=0.29.0
# Email validation for Pydantic
email-validator>=2.0.0
# Testing
pytest>=8.0.0
pytest-asyncio>=0.23.0