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 -0500
Seen: 22 times
Last updated: Oct 16
build without highgui or gstreamer
What is the easiest way to display a cv::Mat in a decoration free full-screen window?
Android: transmit mpeg video via network
Error: msvcr90d.dll can not be find
opencv_highgui functions on Android
OpenCV 2.4.3 build on MacOS 10.6.8 fails