feat: Optional Google Vision cloud fallback engine (#115) #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relates to #115
Add optional Google Vision API cloud fallback for when PaddleOCR confidence is below threshold. Disabled by default.
Changes
ocr/app/engines/cloud_engine.py- Google Vision TEXT_DETECTION wrapperocr/app/engines/hybrid_engine.py- Primary + fallback with confidence thresholdocr/app/config.py- AddOCR_FALLBACK_ENGINE,OCR_FALLBACK_THRESHOLD,GOOGLE_VISION_KEY_PATHenv varsocr/requirements.txt- Addgoogle-cloud-visiondependencyDesign Notes
/run/secrets/google-vision-key.jsonAcceptance Criteria