Norakneath commited on
Commit
b28282d
·
verified ·
1 Parent(s): b2629ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def detect_and_ocr(image):
67
 
68
  if check_tesseract(): # If Tesseract is installed, run OCR
69
  try:
70
- ocr_text = pytesseract.image_to_string(cropped_line, lang="khm").strip()
71
  if ocr_text:
72
  extracted_text_lines.append(ocr_text)
73
  except Exception as e:
 
67
 
68
  if check_tesseract(): # If Tesseract is installed, run OCR
69
  try:
70
+ ocr_text = pytesseract.image_to_string(cropped_line, lang="khm+eng").strip()
71
  if ocr_text:
72
  extracted_text_lines.append(ocr_text)
73
  except Exception as e: