-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(server): Merge Faces sorted by Similarity #14635
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for the PR! The code looks very good to me and I think the SQL queries are also fine, I'll let mertalev be the judge of that though. Please fix the failing open api test :)
I pushed a change that fixed the open-api test. I also ran it on a copy of my personal instance which has around 100k pictures and 5k people detected and I didn't see a noticeable difference in performance. Server specs: i7-12700k with 64 gb of ram. |
Thanks for the PR! LGTM |
e2f5802
to
9af6cd4
Compare
why similarity? I just merge an unnamed face into a named face not into a similarity face |
* Merge Faces sorted by Similarity * Adds face sorting to the side panel face merger * run make open-api * Make it one query * Only have the single order by when sorting by closest face
A new optional parameter on the
/api/people
route allows clients to specify sorting order by similarity to a person. This sorting is used on the merge page to organize photos based on similarity.Implements: #4347