How Selfie-Based Attendance Works in OpenHRApp

One of OpenHRApp's standout features is selfie-based attendance tracking. Instead of fingerprint scanners, RFID cards, or old-school punch clocks, employees simply take a selfie using their phone — and the system captures their photo, GPS location, and timestamp all together. This guide explains exactly how it works under the hood and how to use it effectively.

The Check-In Flow

When an employee arrives at work, here is what happens step by step:

  1. Open the app — On any device (phone, tablet, or laptop), the employee navigates to the Attendance page.

  2. Choose the duty type — Depending on your organization's configuration, the employee selects their work type: Office (standard check-in) or Factory (shift-based check-in).

  3. Camera activates — The app requests access to the device's camera. On first use, the browser will ask for camera permission. The employee grants permission once, and the camera activates automatically on future check-ins.

  4. Take the selfie — The employee positions their face in the frame and captures the photo. The photo is automatically converted to WebP format for efficient storage.

  5. GPS capture — Simultaneously, the app captures the device's GPS coordinates (with the employee's permission). This records where the check-in occurred.

  6. Timestamp — The exact date and time are recorded server-side to prevent manipulation.

  7. Check-in complete — The employee sees a confirmation that they are checked in, and the record is stored in the attendance database.

The entire flow takes about 5–10 seconds from opening the app to completing the check-in.

Check-Out Flow

At the end of the workday (or shift), the employee returns to the Attendance page and taps Check Out. The system:

  1. Captures another selfie for identity verification.
  2. Records the checkout timestamp.
  3. Calculates the total work duration.
  4. Closes the attendance session.

If an employee forgets to check out, OpenHR's auto-close mechanism kicks in. At a configured time (e.g., 10 PM), any open attendance sessions are automatically closed with a system note, and the employee is notified.

Identity Verification: How It Prevents Buddy Punching

Buddy punching — when a colleague checks in for an absent employee — is one of the most common forms of time theft. Selfie verification makes it virtually impossible because:

Privacy Safeguards

Selfie verification is not facial recognition. OpenHR does not process or analyze facial features. The photo is stored as evidence for manual verification by authorized personnel only. Specifically:

GPS Location Verification

Every check-in captures the device's GPS coordinates. This serves multiple purposes:

The GPS data is displayed in the attendance logs as coordinates and, where available, as a reverse-geocoded address (e.g., "123 Main Street, Dhaka"). Managers can view check-in locations on a map for visual verification.

Important: GPS is only captured at the moment of check-in (and check-out, if configured). OpenHR does not track employee location continuously throughout the day. The purpose is verification, not surveillance.

Attendance Modes: Office vs. Factory

OpenHR supports two distinct attendance modes to accommodate different work environments:

Office Mode

Designed for standard office environments with regular business hours. Key characteristics:

Factory Mode

Designed for manufacturing, production, and shift-based environments. Key characteristics:

Admins can configure which modes are available to their organization and assign specific modes per employee or per department.

The Audit Trail

Every attendance event creates an auditable record containing:

This data is stored in a structured database and can be exported to CSV for payroll processing, compliance audits, or further analysis. All records are immutable — once an attendance session is closed, it cannot be silently edited. Manual adjustments by admins are logged with the admin's identity, timestamp, and reason.

Troubleshooting Common Issues

Camera Not Working

If the camera fails to activate:

GPS Not Available

If GPS cannot be determined:

"Already Checked In" Error

This occurs when an employee tries to check in twice without checking out in between. The employee should check out first before starting a new session. If the previous check-out was missed, an admin can manually close the previous session.

Setting Up Attendance for Your Organization

To configure attendance for your team:

  1. Configure shifts — Go to Organization > Shifts. Define your shifts with start/end times, grace periods, and working days.
  2. Assign shifts to employees — In the Employee Directory, assign each employee to their appropriate shift.
  3. Configure auto-close time — Go to Organization > System and set the auto-session-close time. This should be after the latest possible shift end time.
  4. Set up holidays — Go to Organization > Holidays and add your holiday calendar. Employees will not be marked absent on holidays.
  5. Test with a pilot group — Have a small group of employees test the check-in/check-out flow before rolling out to the entire organization.

Conclusion

Selfie-based attendance tracking gives you biometric-level identity verification without any dedicated hardware. It eliminates buddy punching, provides location verification, and creates a complete audit trail — all from the smartphone your employees already carry. Combined with flexible shift support and automatic absence detection, it is a complete attendance management solution that costs nothing to use.

Further Reading


OpenHRApp's attendance system is completely free, with no limits on employees, check-ins, or storage. Start tracking attendance today.