Kaushik Bar
commited on
Commit
·
f7ba9a5
1
Parent(s):
d362067
zsod
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def inference(img, lang):
|
|
12 |
txts = [line[1][0] for line in result]
|
13 |
scores = [line[1][1] for line in result]
|
14 |
|
15 |
-
font_type = ImageFont.truetype("simfang.ttf"
|
16 |
im_show = draw_ocr(image, boxes, txts, scores,
|
17 |
font_path=font_type)
|
18 |
|
|
|
12 |
txts = [line[1][0] for line in result]
|
13 |
scores = [line[1][1] for line in result]
|
14 |
|
15 |
+
font_type = ImageFont.truetype("simfang.ttf")
|
16 |
im_show = draw_ocr(image, boxes, txts, scores,
|
17 |
font_path=font_type)
|
18 |
|