Skip to content

feat(server): optimize face re-queueing - #6961

Merged
alextran1502 merged 2 commits into
mainfrom
feat/server-optimize-face-requeuing
Feb 7, 2024
Merged

alextran1502 merged 2 commits into
mainfrom
feat/server-optimize-face-requeuing

Conversation

@mertalev

@mertalev mertalev commented Feb 7, 2024 •

Copy link
Copy Markdown
Member

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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 7, 2024 •

Copy link
Copy Markdown

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

2 participants