putText()参数解析

cv2.putText(im_rd, str(idx + 1), pos, font, 0.2, (187, 255, 255), 1, cv2.LINE_AA)

#照片/添加的文字/左上角坐标/字体/字体大小/颜色/字体粗细/是否抗锯齿
cv2.LINE_AA:抗锯齿

猜你喜欢

转载自blog.csdn.net/weixin_43081805/article/details/84879109