Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from functions import face_detection as fd
- # Inicializo la cámara
- cap = cv2.VideoCapture(0)
- while(True):
- # 1. Prepare the image
- frame, gray_frame, width_frame, height_frame = fd.image(cap)
- # 5. Show results
- print(width_frame, height_frame)
- cv2.imshow('Gframe', gray_frame)
- cv2.imshow('frame',frame)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement