-
Notifications
You must be signed in to change notification settings - Fork 1k
Can't display image on fullscreen on MacOS #804
Copy link
Copy link
Closed
Description
Expected behaviour
Displaying an image on fullscreen
Actual behaviour
cv2.imshow() function works fine in "window mode" but as soon as i try to display the image on fullscreen i just get a grey screen.
Same code works fine on windows.
Steps to reproduce
import cv2
img = 'test.png'
image = cv2.imread(img)
cv2.namedWindow('test', cv2.WND_PROP_FULLSCREEN)
cv2.setWindowProperty('test', cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
cv2.imshow("test", image)
cv2.waitKey(0)
cv2.destroyAllWindows()
- operating system: MacOS Ventura 13.2.1
- architecture: M1 arm64
- opencv-python version 4.5.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels