语音情感分析开发者必读之作,一定带来一个解决新方案( 七 )


for i in range(lines):
for j in range(cols):
dig = str([i, j])
if i == j:
= (255, 181, 197)
else:
= (46, 139, 87)
draw.text((100 * j + 20, 100 * i + 20), dig,# font=font
fill=)
image.save(, 'jpeg')
---------------------
原文: