Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I noticed you left out extension png, jpg or bmp, etc. Change this:

image=cv2.imread('WIN_20191122_15_19_57_Pro')

to image=cv2.imread('WIN_20191122_15_19_57_Pro.x') ==> x denoted jpg, png or bmp, etc

I noticed you left out extension png, jpg or bmp, etc. Change this:

image=cv2.imread('WIN_20191122_15_19_57_Pro')

to to: image=cv2.imread('WIN_20191122_15_19_57_Pro.x') ==> x denoted jpg, png or bmp, etc

I noticed you left out extension png, jpg or bmp, etc. Change this:

image=cv2.imread('WIN_20191122_15_19_57_Pro')

to: image=cv2.imread('WIN_20191122_15_19_57_Pro.x') ==> x denoted jpg, png or bmp, etcetc Example:

import cv2

image = cv2.imread('filename.png')

cv2.imshow('img', image)
cv2.waitKey(0)

I noticed you left out extension png, jpg or bmp, etc. Change this:

image=cv2.imread('WIN_20191122_15_19_57_Pro')

to: image=cv2.imread('WIN_20191122_15_19_57_Pro.x') ==> x denoted jpg, png or bmp, etc etc. Example:

import cv2

image = cv2.imread('filename.png')

cv2.imshow('img', image)
cv2.waitKey(0)