mustapha muhsin

Facial Recognition Attendance API

public code/independent project // APIs & computer vision
PythonFastAPIOpenCVdlibPostgreSQLSQLAlchemyJWT

the idea

I built a small attendance system that registers an employee from a photo and records check-ins by comparing a new image with stored face encodings.

what i built

The FastAPI endpoints cover employee registration, check-in, employee listing, and attendance history. OpenCV handles image input, dlib creates face encodings, and PostgreSQL stores employee and attendance records.

access and verification

JWT authentication protects the API, with admin access required for employee registration. A check-in returns a matched employee and timestamp or an unauthorised response when no match is found.