Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
9b65883
1
Parent(s):
1cdafc5
debug
Browse files
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.
|
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 |
|