Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement