Answers for "how to put text on cv2 python"

0

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

adding text cv2

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

Python Answers by Framework

Browse Popular Code Answers by Language