Face Recognition, Flask, Python, ML, Knn.
cv2.CascadeClassifier('static/haarcascade_frontalface_default.xml') cap = cv2.VideoCapture(0) #### If these directories don't exist, create them if not os.path.isdir('Attendance'): os.makedirs('Attendance') if not os.path.isdir('static/faces'): os.makedirs('static/faces') if