Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

displaying cv2.imshow on specific window position

img = cv2.imread("test.png")
winname = "Test"
cv2.namedWindow(winname)        # Create a named window
cv2.moveWindow(winname, 40,30)  # Move it to (40,30)
cv2.imshow(winname, img)
cv2.waitKey()
cv2.destroyAllWindows()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #displaying #specific #window #position
ADD COMMENT
Topic
Name
2+3 =