how to read png file cv2 in python code example Example: open opencv image file cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows()