Forem

Cover image for How we made an AI Attendance System for better Team Performance
Rijul Rajesh
Rijul Rajesh

Posted on

1 1

How we made an AI Attendance System for better Team Performance

Our team at Hexmos had problems with absenteeism. When the team involved aren’t consistent, it leads to chaos in managing projects and lower team performance.

This is a common problem among teams and costs billions in losses among employers across the world. So we came up with an attendance system for the team.

Planning the attendance system

To design a proper attendance system, we had to refer to the existing implementations. We can see Attendance done via fingerprint recognition, face recognition or just showing up when the attendance is taken.

Our Team works remotely, so we planned to implement a face recognition attendance system in our Hexmos Feedback Mobile App.

The idea is to scan our face using our mobile app and mark attendance on that particular day. This reduces the efforts from the manager's side, and keeps things more automated.

Building the attendance system

We had a primary problem at hand to implement the attendance system, which is to figure out a way to implement facial recognition.

To achieve this I used a Python library called face_recognition

face_recognition uses deep learning for performing the facial recognition tasks.

Using the face_recognition library we can obtain the following data about the face

  • Face encodings

  • Face Locations

  • Face Landmarks

Face encodings are facial features expressed in numbers using deep learning models.

Face locations are the regions within an image where faces are detected.

Face landmarks are key features on a face, such as the eyes, nose, mouth, and chin.

When a user registers his/her face, we will insert the above 3 data into the Database. This data will be unique for everyone and hence will be beneficial for facial recognition

When the user tries to face recognize, The inputted image's face encodings will be compared with that of the one stored in the Database.

If the match is confirmed, it indicates that the faces are the same, So we can mark the attendance for that particular person.

Implementing the attendance system

alt text

For the attendance implementation, we had to do 2 steps

  • Register the user's face in the Hexmos Feedback app

  • Do facial recognition every day to mark attendance.

alt text

We also added a location component, to keep track of the location where the attendance is being taken.

Conclusion

This is just the start of our AI-based attendance system, there are many more things that can be developed to reduce the pain and chaos involved in managing absenteeism, such as more detailed statistics, notifications of checking in, leave management and many more.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (1)

Collapse
 
royson_menezes_479ed50941 profile image
royson menezes

cool stuff.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay