Skip to content

Instantly share code, notes, and snippets.

@yokeshrana
Last active March 28, 2021 16:05
Show Gist options
  • Save yokeshrana/a514009b6db6fcff632eec3abd6d10de to your computer and use it in GitHub Desktop.
Save yokeshrana/a514009b6db6fcff632eec3abd6d10de to your computer and use it in GitHub Desktop.
Reading images Using OpenCV
import cv2
img = cv2.imread("Resources/lena.png")
cv2.imshow("Picture",img)
cv2.waitKey(3000) # Define the time until it is visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment