Guest User

cloe opencv execution

a guest
Feb 9th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import cv2 as cv
  2.  
  3. img = cv.imread('images/lena.jpg', -1)
  4.  
  5. cv.imshow('image', img)
  6.  
  7. k = cv.waitKey(0) & 0xFF
  8. if k == 27: # ESC
  9.     cv.destroyAllWindows()
Advertisement
Add Comment
Please, Sign In to add comment