← All work

Lead Mobile Engineer

CLOCKIN

An intelligent attendance management system that automates employee check-ins using AI-driven facial recognition eliminating manual registers and proxy attendance.

RoleLead Mobile Engineer
TeamProduct owner plus backend and mobile developers · I led the mobile app and the recognition flow
DomainWorkforce · Face Recognition · Android · FastAPI
Stack
  • Kotlin
  • Jetpack Compose
  • CameraX
  • MediaPipe
  • Python
  • FastAPI
  • PostgreSQL
  • Docker
Checks per clock-in: face, liveness, location
3
Face detection and liveness
On device
CLOCKIN · system architecture
  1. 01 Phone

    • Compose app
    • CameraX + MediaPipe face detection
    • Liveness challenge
    • GPS geofence check
  2. 02 API

    • FastAPI
    • Face embedding match
    • Attendance rules engine
  3. 03 Data

    • PostgreSQL
    • Shift & schedule tables
  4. 04 Operations

    • Manager dashboard
    • Exception reports
    • Payroll export

Use cases

Who uses CLOCKIN, and how

01

Site manager

Shift check-in without buddy punching

Staff sign in for each other on paper registers, inflating payroll and hiding absences.

  1. Employee opens the app at the start of a shift
  2. Face match with liveness detection confirms who is checking in
  3. GPS confirms the check-in happens on site before it is logged

OutcomeEvery check-in is tied to the right person in the right place.

02

Field operations supervisor

Attendance for distributed field teams

Technicians start their day at client sites, so there is no front desk to sign in at.

  1. Technicians check in from the assigned site
  2. Location and time are captured with each event
  3. Late arrivals, early exits and off-site check-ins are flagged automatically

OutcomeSupervisors see exceptions as they happen instead of discovering them at month end.

03

HR and payroll team

Payroll-ready attendance reports

Reconciling sign-in sheets for payroll takes hours each week and causes disputes.

  1. Daily and weekly reports are generated automatically
  2. Exceptions are highlighted for review
  3. Clean records are handed to payroll and HR systems

OutcomeFaster payroll runs and clear records when a dispute comes up.

Context

Paper registers and PIN pads can’t tell who actually turned up. Staff clock in for each other (“buddy punching”), late arrivals go unnoticed, and HR loses hours each week reconciling sheets before payroll. CLOCKIN replaces all of that with a phone: your face proves who you are, a liveness check proves you’re physically there, and GPS proves you’re on site.

My role

I led the mobile side and designed the clock-in flow across app and API. I built the Jetpack Compose app, the camera and face-detection pipeline, the liveness challenge and the location checks. I also defined the API contract with the FastAPI backend that matches faces and applies attendance rules.

Constraints

  • A spoofable sensor. A face camera can be fooled by a printed photo or a video on another phone. Recognition without liveness is not security.
  • Speed at the door. A whole shift checks in within minutes. Each check-in has to take a few seconds, even on budget devices.
  • Bad connectivity on site. Field teams start at client locations with weak signal.
  • Biometric data. Face data is sensitive personal data and has to be handled that way.

Key decisions

Hardest problem

Making failure states humane. Recognition fails for real reasons: bad light, glasses, a new haircut. Every failure needed a recoverable path (retry with framing hints, then escalate to a supervisor) rather than a dead end, and every state needed its own screen. You can see these states in the screenshots: success, failure, on break, location prompt, filled timesheet.

Results

  • Face, liveness and location checked on every clock-in, which closes off buddy punching.
  • Live attendance dashboard for managers, plus automatic late, early-exit and off-site exceptions.
  • Daily and weekly reports ready for payroll without manual reconciliation.

What I’d do next

Add an offline clock-in queue that signs events on the device and syncs them when the connection returns, and run face matching on device for sites that need full offline operation.

Stack

LayerStack
MobileKotlin · Jetpack Compose · CameraX · MediaPipe
RecognitionPython · face embeddings · OpenCV
BackendPython · FastAPI
DatabasePostgreSQL
InfrastructureDocker · AWS