1 | initial version |
The problem is not in imshow but in imread as @berak said: use frontslashes or double backslashes when entering the path to image: cv2.imread("C:/Users/ericnei/My Work/2.bmp")
or cv2.imread("C:\\Users\\ericnei\\My Work\\2.bmp")
.