Restructure: Move ocr_pipeline + labeling + crop into ocr/ package
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 29s
CI / test-go-edu-search (push) Successful in 29s
CI / test-python-klausur (push) Failing after 2m25s
CI / test-python-agent-core (push) Successful in 19s
CI / test-nodejs-website (push) Successful in 20s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-25 21:51:43 +02:00
parent 59c400b9aa
commit 0504d22b8e
98 changed files with 10351 additions and 10152 deletions

View File

@@ -1,20 +1,4 @@
"""
OCR Pipeline Sessions API — barrel re-export.
All implementation split into:
ocr_pipeline_sessions_crud — session CRUD, box sessions
ocr_pipeline_sessions_images — image serving, thumbnails, doc-type detection
Lizenz: Apache 2.0
DATENSCHUTZ: Alle Verarbeitung erfolgt lokal.
"""
from fastapi import APIRouter
from ocr_pipeline_sessions_crud import router as _crud_router # noqa: F401
from ocr_pipeline_sessions_images import router as _images_router # noqa: F401
# Composite router (used by ocr_pipeline_api.py)
router = APIRouter()
router.include_router(_crud_router)
router.include_router(_images_router)
# Backward-compat shim -- module moved to ocr/pipeline/sessions.py
import importlib as _importlib
import sys as _sys
_sys.modules[__name__] = _importlib.import_module("ocr.pipeline.sessions")