Skip to content

Instantly share code, notes, and snippets.

@haider11234
Created June 23, 2020 12:48
Show Gist options
  • Save haider11234/094b05d09e12ff8bb6268c978d52f0e4 to your computer and use it in GitHub Desktop.
Save haider11234/094b05d09e12ff8bb6268c978d52f0e4 to your computer and use it in GitHub Desktop.
display
import cv2
# Black and White (gray scale)
Img = cv2.imread ("image.png";,0)
cv2.imshow("image.png";, img)
cv2.waitKey(0)
# cv2.waitKey(2000)
cv2.destroyAllWindows()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment