System activates the webcam and prepares it for live video capture.
Frames are continuously captured for real-time processing.
Algorithm detects facial regions within each frame.
Detected faces are converted into unique numerical embeddings.
Encodings are matched with stored facial data.
System records name, date, and time in the CSV or database.
Attendance is saved, confirmation shown, and system proceeds to the next frame.
Final attendance report is created, and the process resets for the next session.
by n