Skip to content
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): optimize face re-queueing #6961

Merged
merged 2 commits into from Feb 7, 2024

Conversation

mertalev
Copy link
Contributor

@mertalev mertalev commented Feb 7, 2024

Description

This is a simple, but effective optimization that minimizes the number of faces re-queued during facial recognition.

We currently re-queue all non-core faces, but this is unnecessary when the face has no matches: it won't be clustered regardless. This is typical of background faces that can make up a significant number of faces in a library.

This optimization benefits "without" jobs the most, as these will have a higher percentage of outlier faces by nature.

Copy link

cloudflare-pages bot commented Feb 7, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 901cc77
Status: ✅  Deploy successful!
Preview URL: https://55785da0.immich.pages.dev
Branch Preview URL: https://feat-server-optimize-face-re.immich.pages.dev

View logs

@alextran1502 alextran1502 merged commit b31c768 into main Feb 7, 2024
25 of 26 checks passed
@alextran1502 alextran1502 deleted the feat/server-optimize-face-requeuing branch February 7, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants