Nahid8195

Image show and save in Python

Nov 30th, 2021 (edited)
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. import cv2
  2. pic = cv2.imread("download.jpg",flags=0)
  3. print(pic)
  4. cv2.imshow("Nahid",pic)
  5. cv2.waitKey(0)
  6. cv2.imwrite("gray_do.jpg",pic)
Add Comment
Please, Sign In to add comment