drowzeys's picture
v1.0 alpha: keys-Auto Receipts Studio (iPhone / may add Autonomous Lamp Skill)
2edb151 verified
Raw
History Blame Contribute Delete
319 Bytes
from __future__ import annotations
from pathlib import Path
from backends.base import OCRResult
class CpuOCR:
name = "cpu"
def ocr(self, path: Path) -> OCRResult:
raise NotImplementedError(
f"RapidOCR CPU fallback is Phase 2 and must not auto-download weights (path={path})."
)