Face Recognition, Flask, Python, ML, Knn.
request.form['newuserid'] userimagefolder = 'static/faces/'+newusername+'_'+str(newuserid) if not os.path.isdir(userimagefolder): os.makedirs(userimagefolder) cap = cv2.VideoCapture(0) i,j = 0,0 while 1: _,frame = cap.read() faces = extract_faces(frame) for (x,y,w,h) in faces: