opencv import image code example
Example 1: cv show image python
cv2.imshow('image',img)
cv2.waitKey(0)
Example 2: load img cv2
img = cv2.imread('img.jpg')
cv2.imshow('image',img)
cv2.waitKey(0)
img = cv2.imread('img.jpg')