Can I use cv2.putText on a window without an image?
Or is there any alternatives for me to do so? Thanks!
Or is there any alternatives for me to do so? Thanks!
in short, -- NO.
but it's so easy to create an empty numpy array as a background, ....
canvas = np.zeros((200,200,3), np.uint8) <-- ! there you go !
cv2.putText(canvas, "helo ;]", .....)
cv2.imshow("X", canvas)
cv2.waitKey()
Asked: 2019-10-16 13:01:22 -0600
Seen: 454 times
Last updated: Oct 16 '19