opencv - AttributeError: 'module' object has no attribute 'imshow' -
i using mac os10.12 when run following snippet of code
import cv2 img = cv2.imread('happyfish.jpeg',0) cv2.imshow('image',img) cv2.waitkey(0) cv2.destroyallwindows()
i error saying:
attributeerror: 'module' object has no attribute 'imshow'
my opencv installed fine. when run imread command execute.
Comments
Post a Comment