📜  在特定窗口位置显示 cv2.imshow - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:03.742000             🧑  作者: Mango

代码示例1
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()