opencv write text

Solutions on MaxInterview for opencv write text by the best coders in the world

showing results for - "opencv write text"
Mirko
01 Feb 2018
1font                   = cv2.FONT_HERSHEY_SIMPLEX
2bottomLeftCornerOfText = (10,500)
3fontScale              = 1
4fontColor              = (255,255,255)
5lineType               = 2
6
7cv2.putText(img,'Hello World!', 
8    bottomLeftCornerOfText, 
9    font, 
10    fontScale,
11    fontColor,
12    lineType)