A face is a key. ResNet-34 is the lock.
FaceAttend uses ResNet-34 to generate compact 128-dimensional face embeddings. Registration captures a face image, encodes it to a vector, and stores it in MongoDB. Authentication computes a new embedding from a submitted face and finds the Euclidean distance to the stored vector.
- Live face capture → ResNet-34 → 128D float embedding vector
- Dual authentication: email/password OR face recognition
- Role-based JWT access control (Employer vs Employee)
- Automatic hours calculation from check-in/out timestamps
- No raw image storage — only numerical vectors persisted
- Async MongoDB via Motor for non-blocking database operations
Python
FastAPI
ResNet-34
face_recognition
Motor
MongoDB Atlas
React 18
PyJWT