Kaushik Bar commited on
Commit
d048cdc
·
1 Parent(s): f7ba9a5
Files changed (1) hide show
  1. app.py +1 -1
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("arial.ttf", 18)
16
  im_show = draw_ocr(image, boxes, txts, scores,
17
  font_path=font_type)
18