From 9a68a6123a04bda96dcce6eed52fcc98b2ac06f0 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 26 May 2021 07:09:52 +0000 Subject: [PATCH] fix hub server error --- tools/infer/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/infer/utility.py b/tools/infer/utility.py index 41ca445f..f4e62b87 100755 --- a/tools/infer/utility.py +++ b/tools/infer/utility.py @@ -215,7 +215,7 @@ def draw_ocr(image, txts=None, scores=None, drop_score=0.5, - font_path="./doc/simfang.ttf"): + font_path="./doc/fonts/simfang.ttf"): """ Visualize the results of OCR detection and recognition args: -- GitLab