Realtime_face_recognition_through_CNN if you want to start the web cam class VideoCamera(object): def __init__(self): self.video = cv2.VideoCapture("presidential_debate.mp4") change "presidential_debate.mp4" to 0.