write text on image cv2 code example
Example 1: add text toimage cv2
#
cv2.putText(image,"Hello World!!!", (x,y), cv2.CV_FONT_HERSHEY_SIMPLEX, 2, 255)
Example 2: adding text cv2
cv2.putText (image, "text",coordinates)
#
cv2.putText(image,"Hello World!!!", (x,y), cv2.CV_FONT_HERSHEY_SIMPLEX, 2, 255)
cv2.putText (image, "text",coordinates)