#5857·photoprism

People: Keep face corrections while recognition is running

Author: photoprismciCreated Sep 27, 2026Updated Sep 28, 2026
Labelsplease-testfaces

As a user correcting face assignments, I want my corrections to stick even if face recognition is running in the background, so that I don't have to fix the same faces again.

Summary

When you correct a face or remove a name, PhotoPrism releases the other faces in that group that may belong to someone else, so that the next recognition run can place them again. A recognition run that is already in progress should respect this, and not put those faces back under the person.

Once a correction has been made, the next recognition run also needs to compare markers again. On large libraries this should take seconds, not minutes.

Technical Considerations

  • Matching should decide on the stored face cluster rather than on the copy loaded when the run started, and should assign a marker only while the stored cluster still accepts it and carries the expected person.
  • A face whose name was removed may still belong to a named cluster, but remains unnamed.
  • Match timestamps of markers that keep their cluster can be written in batches instead of one row at a time.
  • Related: #5850

Acceptance Criteria

  • MUST NOT put faces back under a person when that person's name was corrected or removed while a recognition run was in progress.
  • MUST keep a face whose name was removed unnamed, including when it stays in a named cluster.
  • MUST keep recognition results unchanged when no correction happens during a run.
  • SHOULD complete the next recognition run after a correction in seconds, not minutes, on large libraries.