I was trying to work this code on raspberry pi
import cv2 face_cascade = cv2.CascadeClassifier(\'haarcascade_frontalface_default.xml\') cap = cv2.VideoCapture(0