SHARE
TWEET

Untitled

a guest Mar 21st, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import cv2
  2.  
  3. cap = cv2.VideoCapture(0)
  4.  
  5. while True:
  6.     ret, frame = cap.read()
  7.     cv2.imshow("Demo", frame)
  8.  
  9.     k = cv2.waitKey(10)
  10.     if k == ord('k'):
  11.         break
  12.  
  13. cv2.destroyAllWindows()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top