> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Facial recognition clock-in

> Learn how to use facial recognition clock-in in DingTalk Attendance. Once enabled, Employees must pass facial recognition before clocking in, effectively preventing buddy punching. Includes FAQs on viewing facial recognition photos and photo overlay rules.

## 1. Feature overview

DingTalk supports facial recognition for attendance clock-in. Once enabled, Employees must pass facial recognition before their clock-in succeeds.

## 2. Use cases

Scenarios where Organization Employees need facial recognition to record attendance clock-ins.

## 3. Procedure

### Enable facial recognition

#### Mobile

1.1 An Admin with the required Permissions can open **DingTalk mobile app > Workbench > Attendance > Settings >**, find the target attendance group, and tap **Edit attendance group > More settings**.

<Frame caption="Example of the facial recognition setup page on mobile">
  ![Facial recognition setup entry on mobile](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/231a8af4-8486-4ceb-bb0f-1c3b615849e0.png)
</Frame>

1.2 Tap **Photo and facial recognition >** and toggle **facial recognition** on or off.

<Frame caption="Example of the facial recognition setup page on mobile">
  ![Toggle facial recognition on mobile](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/27401d3f-0b5e-4611-a1c6-b4e59570d9bc.png)
</Frame>

#### Desktop

An Admin with the required Permissions can open **DingTalk desktop app > Workbench > Attendance > Attendance group management >**, click **Edit** next to the target attendance group, go to **Photo verification rules >**, and toggle **facial recognition** on or off.

<Frame caption="Example of the facial recognition setup page on desktop">
  ![Attendance group management on desktop](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/97b7315b-657d-4e2d-ad88-2bf2084fba54.png)
</Frame>

<Frame caption="Example of the facial recognition setup page on desktop">
  ![Photo verification rules on desktop](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/f0414577-cd72-4e12-b05c-7bfb0edf2730.png)
</Frame>

<Warning>
  **Notes:**
</Warning>

1. Facial recognition: the Employee's face is verified automatically at clock-in, and photos are not archived.

2. Face enrollment management: available on the mobile app only.

**Notes:**

* To require Employees to perform specified actions such as blinking or shaking their head to prevent cheating, the Admin can select **Enable liveness detection** below after enabling facial recognition. Employees must then complete the specified actions such as blinking or head shaking during facial recognition.

* Liveness detection is available only after DingTalk is upgraded to version 4.7.16 or later. Please remind Employees to upgrade as soon as possible.

### Manage face enrollment

3.1 After facial recognition is enabled, an Admin with the required Permissions can open **DingTalk mobile app > Workbench > Attendance > Settings >**, tap the target attendance group, and tap **Edit attendance group > More settings**.

<Frame caption="Example of the face enrollment management page">
  ![Face enrollment management entry](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/231a8af4-8486-4ceb-bb0f-1c3b615849e0.png)
</Frame>

3.2 Tap **Photo and facial recognition >**, turn on **facial recognition > Face management**, and tap the target Employee to enroll their face.

<Frame caption="Example of the face enrollment management page">
  ![Face management list](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/f57126ed-db20-4e07-b37c-694c52dee88c.png)
</Frame>

* The Admin can also tap **One-tap reminder to enroll face** to send a **DING** message to Employees. After receiving the message, Employees can enroll their own face on the DingTalk mobile app. The one-tap reminder is delivered via DING only.

<Frame caption="Example of the face enrollment reminder page">
  ![One-tap face enrollment reminder](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/ZWGl05Mbe0ZDMn34/img/7e335f1e-b41a-4ae4-9e19-9422c83aad67.png)
</Frame>

## 4. FAQs

<AccordionGroup>
  <Accordion id="q1" title="How many photos are required when both photo clock-in and facial recognition are enabled?">
    Photo clock-in and facial recognition are now separate features. If both are enabled, the Employee must take a photo and complete facial recognition.
  </Accordion>

  <Accordion id="q2" title="How can I view facial recognition photos?">
    Facial recognition photos are not saved and are used only for verification. If you need photos to be displayed, the Admin can set up photo clock-in.
  </Accordion>

  <Accordion id="q3" title="How does facial recognition prevent spoofing?">
    After enabling facial recognition, you can also turn on liveness detection, which requires the Employee to perform facial movements during recognition.
  </Accordion>

  <Accordion id="q4" title="Where is the entry for photo verification rules?">
    If the attendance group is set to Time Clock only, the **Photo verification rules** entry is not available.
  </Accordion>

  <Accordion id="q5" title="What should I do if facial recognition fails?">
    Troubleshooting steps:

    1. Check whether DingTalk is up to date, the lighting is sufficient, and the network connection is stable.

    2. If facial recognition still fails, Delete and re-enroll the face. The path is as follows:

    An Admin with the required Permissions can open **DingTalk mobile app > Workbench > Attendance > Settings >**, tap the target attendance group, then tap **Edit attendance group > More settings > Photo and facial recognition >**, and turn on **facial recognition > Face management > Select the target Employee > Delete** or **Re-enroll**.
  </Accordion>
</AccordionGroup>
