OpenCV window on Mac is not showing image
10:40 28 May 2017

So here is my code:

import cv2
img = cv2.imread('new.bmp')
cv2.imshow('FRAME', img)
cv2.waitKey(0)
cv2.destroyAllWindows()

From what I have gathered on the internet, this is supposed to display the image 'new.bmp' in a window called'FRAME'. But all that happens is this:

1

python macos opencv user-interface