opencv how to read image code example
Example 1: open opencv image file
cv2.imshow('image',img)
cv2.waitKey(0)
cv2.destroyAllWindows()
Example 2: opencv load image python
img = cv2.imread('filename.jpg',1)
cv2.imshow('image',img)
cv2.waitKey(0)
cv2.destroyAllWindows()
img = cv2.imread('filename.jpg',1)