feat: default OCR language to Telugu (te)
This commit is contained in:
parent
e68cc23993
commit
73a5915f4f
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue