Files
breakpilot-lehrer/klausur-service/backend/requirements.txt
Benjamin Admin ab3ecc7c08
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 24s
CI / test-go-edu-search (push) Successful in 27s
CI / test-python-klausur (push) Failing after 1m50s
CI / test-python-agent-core (push) Successful in 19s
CI / test-nodejs-website (push) Successful in 15s
feat: OCR pipeline v2.1 – narrow column OCR, dewarp automation, Fabric.js editor
Proposal B: Adaptive padding, crop upscaling, PSM selection, row-strip re-OCR
for narrow columns (<15% width) – expected accuracy boost 60-70% → 85-90%.

Proposal A: New text-line straightness detector (Method D), quality gate
(rejects counterproductive corrections), 2-pass projection refinement,
higher confidence thresholds – expected manual dewarp reduction to <10%.

Proposal C: Fabric.js canvas editor with drag/drop, inline editing, undo/redo,
opacity slider, zoom, PDF/DOCX export endpoints.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:44:14 +01:00

54 lines
1.2 KiB
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
# RapidOCR (PaddleOCR models on ONNX Runtime — works on ARM64 natively)
rapidocr
onnxruntime
# IPA pronunciation dictionary lookup (MIT license, bundled CMU dict ~134k words)
eng-to-ipa
# Spell-checker for rule-based OCR correction (MIT license)
pyspellchecker>=0.8.1
# PostgreSQL (for metrics storage)
psycopg2-binary>=2.9.0
asyncpg>=0.29.0
# Email validation for Pydantic
email-validator>=2.0.0
# DOCX export for reconstruction editor (MIT license)
python-docx>=1.1.0
# Testing
pytest>=8.0.0
pytest-asyncio>=0.23.0