JustinLin610 commited on
Commit
9b65883
1 Parent(s): 1cdafc5
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.3)
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.5)
169
  box_list, image_list = zip(*results)
170
  draw_boxes(out_img, box_list)
171