Nana Casmana Ade WikartaAI Systems
Back to projects

Computer Vision / Field Operations

SPG Attendance : Face Recognition Monitoring

A face recognition attendance system for multi-outlet field staff, with real-time dashboard and location verification.

Project statusCase Study
PythonFastAPIFace RecognitionPostgreSQLDashboard UITelegram Bot

Overview

SPG Attendance Monitoring uses face recognition to track field staff attendance across multiple store outlets. It combines face matching with location data and provides a real-time dashboard plus Telegram notifications for supervisors.

Problem

Manual attendance tracking for distributed field staff is unreliable. Phone-based check-ins can be faked, and supervisors can't verify attendance at multiple outlets simultaneously.

Goal

Build a reliable attendance system that uses face biometrics and location context so supervisors can trust the data without being on-site.

Architecture

  • Face detection and encoding during staff enrollment.
  • Attendance check-in via mobile with face capture.
  • Backend matching service compares captured face against enrolled database.
  • Dashboard shows real-time attendance per outlet with status flags.

System Flow

Input

Staff enrolls face through the registration flow.

Process

Daily check-in: staff captures selfie at outlet location.

AI Layer

API runs face detection → encoding → matching against enrolled set.

Storage/API

Match result + location metadata stored as attendance record.

Review

Supervisor dashboard displays real-time status per outlet.

Tech Stack

PythonFastAPIFace RecognitionPostgreSQLDashboard UITelegram Bot

Key Features

  • Staff enrollment with face registration.
  • Face matching for daily check-in with confidence scoring.
  • Location metadata alongside face verification.
  • Telegram notifications for supervisor alerts.

AI / ML Component

  • Face detection and alignment from phone-captured images.
  • Face encoding and similarity matching.
  • Confidence thresholding configurable per deployment.

Data Flow

  1. 1Staff enrolls face through the registration flow.
  2. 2Daily check-in: staff captures selfie at outlet location.
  3. 3API runs face detection → encoding → matching against enrolled set.
  4. 4Match result + location metadata stored as attendance record.
  5. 5Supervisor dashboard displays real-time status per outlet.

Challenges

  • Varying lighting conditions and phone camera quality across outlets.
  • Handling false rejections when staff appearance changes.
  • Ensuring the face capture happens at the actual outlet location.

Solution / Trade-off

  • Combine face matching with location data rather than relying on biometrics alone.
  • Use notification-based exception reporting instead of real-time monitoring for every check-in.
  • Keep manual override path for legitimate edge cases.

Result

Working prototype with face enrollment, daily check-in matching, and supervisor dashboard. Deployed for pilot testing.

Screenshot / Demo Placeholder

/images/spg-attendance-placeholder.png

Replace this area with real screenshots, dashboard captures, architecture diagrams, or a short demo video once the asset is ready.

GitHub / Live Link Placeholder

What I Would Improve

  • Add liveness detection to prevent photo spoofing.
  • Add offline check-in mode for areas with poor connectivity.
  • Build per-outlet attendance reports.