Answers for "how to write text in opencv"

1

adding text cv2

cv2.putText (image, "text",coordinates)
Posted by: Guest on April-27-2020
0

opencv write text

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)
Posted by: Guest on April-14-2021

Code answers related to "how to write text in opencv"

Python Answers by Framework

Browse Popular Code Answers by Language