|
| 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