JustinLin610 commited on
Commit
4d02728
·
1 Parent(s): f9a519d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def apply_half(t):
165
 
166
  def ocr(img):
167
  out_img = Image.open(img)
168
- results = get_images(img, reader, text_confidence=0.7, text_threshold=0.4, link_threshold=0.45)
169
  box_list, image_list = zip(*results)
170
  draw_boxes(out_img, box_list)
171
 
 
165
 
166
  def ocr(img):
167
  out_img = Image.open(img)
168
+ results = get_images(img, reader, text_confidence=0.7, text_threshold=0.4, link_threshold=0.35, slope_ths=0.)
169
  box_list, image_list = zip(*results)
170
  draw_boxes(out_img, box_list)
171