feat: default OCR language to Telugu (te)
Build Newspaper Extractor Backend / build-newspaper-backend (push) Failing after 37m51s Details
Build Newspaper Extractor Frontend / build-newspaper-frontend (push) Failing after 21s Details

This commit is contained in:
Deep Koluguri 2026-07-10 12:28:40 -04:00
parent e68cc23993
commit 73a5915f4f
1 changed files with 2 additions and 1 deletions

View File

@ -36,4 +36,5 @@ class OCREngine:
def detect_language(self, crop): def detect_language(self, crop):
# Quick langdetect on a fast English OCR pass, or script detection # Quick langdetect on a fast English OCR pass, or script detection
return "en" # plug in script-detection model # Hardcoding to 'te' (Telugu) which also supports English numbers/characters
return "te"