Skip to content

Commit ad1ba4b

Browse files
docs: better facial recognition cluster guide (#14911)
* Better Facial Recognition Clusters * Add information about the guide * Update docs/docs/features/facial-recognition.md Co-authored-by: Felix Bühler <Stunkymonkey@users.noreply.github.com> * PR Feedback --------- Co-authored-by: Felix Bühler <Stunkymonkey@users.noreply.github.com>
1 parent f89e741 commit ad1ba4b

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

docs/docs/features/facial-recognition.md

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ Navigating to Administration > Settings > Machine Learning Settings > Facial Rec
6969

7070
:::tip
7171
It's better to only tweak the parameters here than to set them to something very different unless you're ready to test a variety of options. If you do need to set a parameter to a strict setting, relaxing other settings can be a good option to compensate, and vice versa.
72+
73+
You can learn how the tune the result in this [Guide](/docs/guides/better-facial-clusters)
7274
:::
7375

7476
### Facial recognition model
+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Better Facial Recognition Clusters
2+
3+
## Purpose
4+
5+
This guide explains how to optimize facial recognition in systems with large image libraries. By following these steps, you'll achieve better clustering of faces, reducing the need for manual merging.
6+
7+
---
8+
9+
## Important Notes
10+
11+
- **Best Suited For:** Large image libraries after importing a significant number of images.
12+
- **Warning:** This method deletes all previously assigned names.
13+
- **Tip:** **Always take a [backup](/docs/administration/backup-and-restore#database) before proceeding!**
14+
15+
---
16+
17+
## Step-by-Step Instructions
18+
19+
### Objective
20+
21+
To enhance face clustering and ensure the model effectively identifies faces using qualitative initial data.
22+
23+
---
24+
25+
### Steps
26+
27+
#### 1. Adjust Machine Learning Settings
28+
29+
Navigate to:
30+
**Admin → Administration → Settings → Machine Learning Settings**
31+
32+
Make the following changes:
33+
34+
- **Maximum recognition distance (Optional):**
35+
Lower this value, e.g., to **0.4**, if the library contains people with similar facial features.
36+
- **Minimum recognized faces:**
37+
Set this to a **high value** (e.g., 20 For libraries with a large amount of assets (~100K+), and 10 for libraries with medium amount of assets (~40K+)).
38+
> A high value ensures clusters only include faces that appear at least 20/`value` times in the library, improving the initial clustering process.
39+
40+
---
41+
42+
#### 2. Run Reset Jobs
43+
44+
Go to:
45+
**Admin → Administration → Settings → Jobs**
46+
47+
Perform the following:
48+
49+
1. **FACIAL RECOGNITION → Reset**
50+
51+
> These reset jobs rebuild the recognition model based on the new settings.
52+
53+
---
54+
55+
#### 3. Refine Recognition with Lower Thresholds
56+
57+
Once the reset jobs are complete, refine the recognition as follows:
58+
59+
- **Step 1:**
60+
Return to **Minimum recognized faces** in Machine Learning Settings and lower the value to **10** (In medium libraries we will lower the value from 10 to 5).
61+
62+
> Run the job: **FACIAL RECOGNITION → MISSING Mode**
63+
64+
- **Step 2:**
65+
Lower the value again to **3**.
66+
> Run the job: **FACIAL RECOGNITION → MISSING Mode**
67+
68+
:::tip try different values
69+
For certain libraries with a larger or smaller amount of assets, other settings will be better or worse. It is recommended to try different values **​​before assigning names** and see which settings work best for your library.
70+
:::
71+
72+
---

0 commit comments

Comments
 (0)