cap = cv2.VideoCapture(0) # the variable before frame is True if the camera is useable useable, frame = cap.read()