Closed
Description
Expected behaviour
imshow displays image
Actual behaviour
when calling cv2.imshow(), I mostly get a small window with the correct name but containing only a black screen. It does work sometimes however but it is unpredictable. This issue was not encountered in previous versions of opencv-contrib-python.
Steps to reproduce
- example code
import cv2
import os
import imutils
image = cv2.imread("ref_image.png")
cv2.imshow("test", image)
cv2.waitKey(0)
cv2.destroyAllWindows()
- operating system : Ubuntu 20.04
- architecture (e.g. x86): x64
- python version: 3.8
- opencv-python version: opencv-contrib-python 4.3.36
Metadata
Metadata
Assignees
Labels
No labels