10.OpenCV_图片上显示文本
- 方法:cv2.putText( )
- 字体格式:
FONT_HERSHEY_SIMPLEX = 0
FONT_HERSHEY_PLAIN = 1
FONT_HERSHEY_DUPLEX = 2
FONT_HERSHEY_COMPLEX = 3
FONT_HERSHEY_TRIPLEX = 4
FONT_HERSHEY_COMPLEX_SMALL = 5
FONT_HERSHEY_SCRIPT_SIMPLEX = 6
FONT_HERSHEY_SCRIPT_COMPLEX = 7 - 线条类型:
cv2.LINE_4, cv2.LINE_8, cv2.LINE_AA
共有 0 条评论