cv2 imshow code example
Example 1: cv2.imshow
cv2.imshow('image',img)
cv2.waitKey(0)
Example 2: open opencv image file
cv2.imshow('image',img)
cv2.waitKey(0)
cv2.destroyAllWindows()
cv2.imshow('image',img)
cv2.waitKey(0)
cv2.imshow('image',img)
cv2.waitKey(0)
cv2.destroyAllWindows()