Face Recognition, Flask, Python, ML, Knn.
name.split('_')[1] current_time = datetime.now().strftime("%H:%M:%S") df = pd.read_csv(f'Attendance/Attendance-{datetoday()}.csv') if int(userid) not in list(df['Roll']): with open(f'Attendance/Attendance-{datetoday()}.csv','a') as f: f.write(f'\n{username},{userid},{current_time}')