omkar56 commited on
Commit
3965a8b
·
1 Parent(s): 4515c22

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -32,7 +32,7 @@ async def ocr(
32
  print("[3]",os.popen(f'apt search tesseract').read())
33
  content = await image.read()
34
  image = Image.open(BytesIO(content))
35
- print("[text]",pytesseract.image_to_string(image, lang = 'eng'))
36
  # text = pytesseract.image_to_string(image, lang="+".join(languages))
37
  # text = pytesseract.image_to_string(image, lang = 'eng')
38
  except Exception as e:
 
32
  print("[3]",os.popen(f'apt search tesseract').read())
33
  content = await image.read()
34
  image = Image.open(BytesIO(content))
35
+ print("[text]",pytesseract)
36
  # text = pytesseract.image_to_string(image, lang="+".join(languages))
37
  # text = pytesseract.image_to_string(image, lang = 'eng')
38
  except Exception as e: