how to put text in cv2 code example
Example 1: cv2 add text
import cv2
im = cv2.imread(path + 'pillar.png', 1)
font = cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(im, 'Christmas', (10,450), font, 3, (0, 255, 0), 2, cv2.LINE_AA)
cv2.imwrite(path + 'pillar_text.jpg', im)
Example 2: adding text cv2
cv2.putText (image, "text",coordinates)