Open sugizo opened 1 year ago
Maybe your system hasn't or can't access arial.ttf. I modified the code as the following:
font_p = '/System/Library/Fonts/Supplemental/Arial.ttf' # the arial.ttf path in your system
label_fnt = ImageFont.truetype(font_p, size=label_fnt_sz)
move_fnt = ImageFont.truetype(font_p, size=move_fnt_sz)
environment
steps
result