Skip to content

Instantly share code, notes, and snippets.

@Nithilaa
Created October 26, 2021 04:59
Show Gist options
  • Save Nithilaa/628c8e92cc500ed6e59bfffa8844c626 to your computer and use it in GitHub Desktop.
Save Nithilaa/628c8e92cc500ed6e59bfffa8844c626 to your computer and use it in GitHub Desktop.
import cv2
img = cv2.imread('flower_image.jpg', cv2.IMREAD_UNCHANGED)
#or
#img = cv2.imread('C:\\Users\\Admin\\Downloads\\flower_image.jpg', cv2.IMREAD_UNCHANGED)
cv2.imshow('Unchanged Image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment