JustinLin610 commited on
Commit
38764eb
1 Parent(s): 1eaabbf
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def apply_half(t):
165
  def ocr(img):
166
  out_img = Image.open(img)
167
  results = get_images(img, reader, max_size=4000, text_confidence=0.7, text_threshold=0.4,
168
- link_threshold=0.4, slope_ths=0.07, add_margin=0.04)
169
  box_list, image_list = zip(*results)
170
  draw_boxes(out_img, box_list)
171
 
 
165
  def ocr(img):
166
  out_img = Image.open(img)
167
  results = get_images(img, reader, max_size=4000, text_confidence=0.7, text_threshold=0.4,
168
+ link_threshold=0.4, slope_ths=0., add_margin=0.04)
169
  box_list, image_list = zip(*results)
170
  draw_boxes(out_img, box_list)
171