"vscode:/vscode.git/clone" did not exist on "05e831697a03984032863b2aa5d6443e422713e6"
Commit b090627a authored by LDOUBLEV's avatar LDOUBLEV
Browse files

opt visualized func and add docker usage in cpu

parent 59d0a00e
...@@ -226,8 +226,7 @@ def text_visual(texts, scores, img_h=400, img_w=600, threshold=0.): ...@@ -226,8 +226,7 @@ def text_visual(texts, scores, img_h=400, img_w=600, threshold=0.):
font_size = 20 font_size = 20
txt_color = (0, 0, 0) txt_color = (0, 0, 0)
font = ImageFont.truetype( font = ImageFont.truetype("./doc/simfang.ttf", font_size, encoding="utf-8")
"../../doc/simfang.ttf", font_size, encoding="utf-8")
gap = font_size + 5 gap = font_size + 5
txt_img_list = [] txt_img_list = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment