📜  opencv 写入文本 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:09.854000             🧑  作者: Mango

代码示例1
font                   = cv2.FONT_HERSHEY_SIMPLEX
bottomLeftCornerOfText = (10,500)
fontScale              = 1
fontColor              = (255,255,255)
lineType               = 2

cv2.putText(img,'Hello World!', 
    bottomLeftCornerOfText, 
    font, 
    fontScale,
    fontColor,
    lineType)