import cv2
cv2.namedWindow("No Border Window",cv2.cv2.WINDOW_NORMAL)
cv2.setWindowProperty("No Border Window", cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
img = cv2.imread(path)
cv2.imshow("No Border Window", img)
cv2.waitKey(0)
Python-OpenCV设置图像无边框显示
最新推荐文章于 2024-04-28 21:55:37 发布