Conventional attendance is vulnerable to proxy attendance, recording errors, and inefficient recapitulation. This study designs a student attendance system based on face recognition using YOLOv8 for face localization, Keras-FaceNet to produce 512-dimensional embeddings, and Cosine similarity for identity matching. The system adopts a hybrid client-server architecture: a Flutter application on Android captures and transmits an image through HTTP Multipart, while a Flask server performs the computation and records attendance in CSV/Excel. Tests cover distances of 10, 20, and 30 cm; natural and assisted lighting; and thresholds of 0.50, 0.65, and 0.70. A distance of 10 cm produced the highest similarity of 77.77%, while 20 cm was the optimal condition with 77.20% similarity and the fastest inference time of 1.130 seconds. Natural light produced 80.7% similarity and a 0.747-second inference, outperforming assisted light at 71.2% and 2.745 seconds. During testing, the 0.65 threshold recognized all registered faces without misidentification. The system also returned feedback to Android and automatically recorded attendance.
Copyrights © 2026