Opencv Imshow window getting freeze in MAc OS

asked 2018-12-11 11:03:42 -0500

Gokul gravatar image

updated 2018-12-11 11:07:17 -0500

berak gravatar image

i tried so many things but finally ended with vein img= cv2.imread('messi.jpg')

im2color = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

cv2.imshow('Messi',img) cv2.waitKey(1) cv2.destroyAllWindows()

edit retag flag offensive close merge delete

Comments

Try this:

img= cv2.imread('messi.jpg')
to
 ret, img= cv2.imread('messi.jpg')
supra56 gravatar imagesupra56 ( 2018-12-11 20:40:00 -0500 )edit

I attempted with my friend using macos.

supra56 gravatar imagesupra56 ( 2018-12-12 10:11:34 -0500 )edit

is there any alternate way?

Gokul gravatar imageGokul ( 2018-12-12 22:28:33 -0500 )edit

still i am having issue

Gokul gravatar imageGokul ( 2018-12-14 02:35:15 -0500 )edit