Omnibus commited on
Commit
a856582
·
1 Parent(s): 210166c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def ocrpdf(file_path,pdf_lang,page_num):
82
  img1 = pdf_pil(file_path,page_num)
83
  lang=[f"{ocr_id[pdf_lang]}"]
84
  reader = easyocr.Reader(lang)
85
- bounds = reader.readtext(img1,width_ths=0.7)
86
 
87
  this = ""
88
  for bound in bounds:
 
82
  img1 = pdf_pil(file_path,page_num)
83
  lang=[f"{ocr_id[pdf_lang]}"]
84
  reader = easyocr.Reader(lang)
85
+ bounds = reader.readtext(img1,width_ths=1)
86
 
87
  this = ""
88
  for bound in bounds: