SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from functions import face_detection as fd
  2.  
  3. # Inicializo la cámara
  4. cap = cv2.VideoCapture(0)
  5.  
  6. while(True):
  7.     # 1. Prepare the image
  8.     frame, gray_frame, width_frame, height_frame = fd.image(cap)
  9.  
  10.     # 5. Show results
  11.     print(width_frame, height_frame)
  12.     cv2.imshow('Gframe', gray_frame)
  13.     cv2.imshow('frame',frame)
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top