Skip to content

Troubleshooting Face Recognition

You are welcome to ask for help in our community chat. Sponsors receive direct technical support via email. Before submitting a support request, please go through the checklists below.

Faces are recognized in three stages — detection, embedding, and clustering — so a problem usually belongs to one of them. AI Models > Face Recognition explains how they work and lists the available config options.

First Checks

Start here whatever the symptom, as this rules out the most common causes in one step:

  • Run photoprism faces status in a terminal. It reports the model in use, the options actually in force, and why clustering is waiting when no clusters are forming
  • Note which build you are running: it is shown as Build in the footer of any Settings page, or run photoprism --version
  • Watch the service logs while you reproduce the problem, and raise the log level if nothing stands out
  • Make sure face recognition has not been switched off with PHOTOPRISM_DISABLE_FACES

Tagging Is Slow

Naming faces should feel immediate. When it does not, first find out where the time goes, then work through the matching group:

  • Update to the latest release and try again — the People view is improved regularly
  • Open your browser's developer tools, switch to the Network tab, then click a face and save a name. This tells you whether the delay is in the browser or in a server request, which have completely different causes
  • Check the logs for rate limit errors while you are editing faces — they look like slowness in the UI, but are not

If the server requests are slow:

If only the browser is slow:

  • Try another browser, and disable extensions that modify pages
  • Look for errors in the Console tab

No Faces Found

  • Confirm a detector is active with photoprism faces status, and that PHOTOPRISM_DISABLE_FACES is unset
  • Run photoprism faces index to detect faces in pictures that were indexed earlier
  • Lower PHOTOPRISM_FACE_SIZE if the faces you expect are small, and see Small Faces in Group Pictures
  • Rotate pictures that are not displayed upright and index them again, as rotated faces are often not detected at all
  • Note that recognition is less reliable for young children

No People Shown

Faces have been detected, but People stays empty:

  • Run photoprism faces status to see why clustering is waiting
  • Run photoprism faces update --force so a pass runs at the current settings instead of waiting for enough new faces
  • Review PHOTOPRISM_FACE_CLUSTER_SIZE, which is the minimum size a face must have to help form a new person
  • After a model upgrade, run photoprism faces index before photoprism faces update --force
  • Check that the background worker runs regularly

Wrong Grouping

Different people are grouped together, or one person appears several times:

Lost Assignments

Names disappear, revert, or the logs mention ambiguous subjects:

  • Wait until saving has finished before assigning the next face, and avoid editing people in several browser tabs at once
  • Avoid running more than one instance against the same database, and do not change database content directly
  • Run photoprism faces audit --fix, as described under Inconsistent Face Assignments

Missing XMP Names

Names stored in sidecar files or embedded metadata do not appear:

  • Make sure ExifTool is installed
  • Update to the latest release, since metadata support is extended regularly
  • Index the affected pictures again, using a complete rescan if a normal run changes nothing
  • Compare what your files contain with the fields we read, listed in Adobe XMP

Starting Over

When a library is in a state that is quicker to rebuild than to repair:

  • photoprism faces reset removes automatic clusters and matches, keeping the names you assigned
  • photoprism faces reset --all also removes the names, keeping the markers
  • photoprism faces reset --force removes the markers as well, so faces must be detected again with photoprism faces index