Ask Your Question

Revision history [back]

click to hide/show revision 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").