Face attendance with a kiosk tablet

Liveness detection for face attendance

Updated · Author: Hadirly team

Liveness detection checks whether the face in front of the camera belongs to the person standing there, not to a printed photo or an image on a screen. The Hadirly kiosk runs it passively: people do not need to blink, turn, or follow instructions. A small model on the tablet gives each face that passes the quality check a score between 0 and 1. With default settings, attendance is recorded only when the score is at least 0.8.

Why a passive check

An active check asks people to blink or turn their head. That slows the queue at the gate and confuses people who are in a hurry. A passive check works from the image the camera already has, so people only need to stand facing the tablet.

Because the check depends on the image, poor light or a partly covered face lowers the score, and the kiosk waits until the image is good enough.

What the model checks

The model is designed to tell three classes apart: a real face, a printed photo, and a replay on a screen. The score is the probability of the real-face class, calculated from the image crop around the face box.

The check runs after the quality gate. A face that is too small, blurred, far from the center, or in extreme light gets no score. That way the authenticity check only works on images that can be judged.

Authenticity is one requirement among others. After it passes, the face must still match the enrolled list and hold for three readings in a row.

How the score is used

  • Attendance with a score below 0.8 is held. The kiosk does not record it and keeps waiting for a face that meets the requirement.
  • The score is saved with every attendance record, so managers can see it in reports.
  • On the server, attendance with a score below 0.5 is marked as low liveness and added to the review list.
  • During enrolment, images with an authenticity score below 0.6 are skipped, so a template is not built from a doubtful image.

An organization can turn off the authenticity requirement in the kiosk settings. We do not recommend it, because without this requirement the kiosk accepts any face that matches the list.

What we have not proved

The model and its decision logic are already installed in the kiosk app. Tests with real faces have run on the test tablet. Tests with printed photos and screens on the target tablet are not finished, so we do not publish an attack success rate. That figure does not exist yet.

Limits

  • Low light makes the score unstable, and the kiosk delays recording. The kiosk raises the screen brightness as a fill light, but it cannot replace good light at the gate.
  • Masks and dark sunglasses cover the parts of the face the check reads, so no score forms.
  • Reflections from glass or a very bright screen can change the image and the result.
  • The model does not know who the person is. It only judges whether what it sees looks like a live face. Matching against the list is a separate step.

How it relates to matching

Liveness and matching run in order. A face that fails the liveness check is not counted in matching, so a photo that happens to resemble one of the templates is not recorded while its score is below 0.8. A face that passes both must still hold three readings in a row. That way one good frame is not enough to record attendance.

What managers see

Each attendance record keeps the authenticity score used when it was recorded. In reports, attendance with a low score is marked and added to the review list. A manager decides on every mark, and the decision is recorded with the reviewer’s name and time. Marks that are never reviewed do little good, so schedule a regular check.

What people see at the gate

When the quality or authenticity check cannot yet give an answer, the screen does not reject straight away. The kiosk shows a short prompt, for example asking the person to hold still for a moment, step closer, or adjust their position to face the camera. The prompt follows the quality check result, so people know what to change. Once the face is good enough to judge, the authenticity and matching checks run.

Checklist

  • Make sure no light reflection or glass sits directly in front of the camera.
  • Test with a printed photo and a screen in the room before you use the kiosk, and write down the result.
  • Keep the authenticity requirement on unless there is a written reason to turn it off.
  • Review attendance with a low score on a regular schedule.

Try Hadirly for 14 days

The trial needs no payment up front. Register, verify your email, then install the apps.

Frequently asked questions

Can the kiosk be fooled with a photo?

The model is designed to reject printed photos and screen replays, but attack tests on the target tablet are not finished. Do not rely on liveness as the only safeguard. Combine it with supervision at the gate and review of reports.

Do people have to blink or turn their head?

No. The check is passive and asks for no movement at all.

What happens when the liveness score is low?

The kiosk does not record attendance for that face and waits for a better image. If an attendance still comes through with a low score, the server flags it for review.