提交 b090627a 编写于 作者: L LDOUBLEV

opt visualized func and add docker usage in cpu

上级 59d0a00e
......@@ -226,8 +226,7 @@ def text_visual(texts, scores, img_h=400, img_w=600, threshold=0.):
font_size = 20
txt_color = (0, 0, 0)
font = ImageFont.truetype(
"../../doc/simfang.ttf", font_size, encoding="utf-8")
font = ImageFont.truetype("./doc/simfang.ttf", font_size, encoding="utf-8")
gap = font_size + 5
txt_img_list = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册