Implement OCR engine architecture with base, factory, and specific engines

This commit is contained in:
2026-05-08 07:08:48 +02:00
parent d117be5eec
commit 061ebf9978
7 changed files with 460 additions and 0 deletions

4
app/ocr/__init__.py Normal file
View File

@@ -0,0 +1,4 @@
from app.ocr.base import OcrEngine, OcrLine, OcrResult
from app.ocr.factory import create_ocr_engine
__all__ = ["OcrEngine", "OcrLine", "OcrResult", "create_ocr_engine"]