Skip to content

Commit

Permalink
opt visualized func and add docker usage in cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
LDOUBLEV committed May 27, 2020
1 parent 59d0a00 commit b090627
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/infer/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ def create_blank_img():

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 = []
Expand Down

0 comments on commit b090627

Please sign in to comment.