Skip to content

Instantly share code, notes, and snippets.

@haider11234
Created June 23, 2020 12:30
Show Gist options
  • Save haider11234/12395084bc83ad8b07d9ae0053d8a2ce to your computer and use it in GitHub Desktop.
Save haider11234/12395084bc83ad8b07d9ae0053d8a2ce to your computer and use it in GitHub Desktop.
reading image
import cv2
# colored Image
Img = cv2.imread ("image.png",1)
# Black and White (gray scale)
Img_1 = cv2.imread ("image.png",0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment