Skip to content

feat : add compute_event_embedding to FaceEmbeddingService#31

Merged
wailbentafat merged 3 commits intodevelopfrom
feat/event-face-embeddings
Mar 25, 2026
Merged

feat : add compute_event_embedding to FaceEmbeddingService#31
wailbentafat merged 3 commits intodevelopfrom
feat/event-face-embeddings

Conversation

@maya-ots
Copy link
Collaborator

summary

added compute_event_embedding() to FaceEmbeddingService to handle event photo processing. Unlike compute_average_embedding() which is designed for enrollment (one person, multiple photos), this method detects all faces in one or more photos and returns one embedding per face per photo.

changes

  • added compute_event_embedding() to FaceEmbeddingService (takes a list of image payloads, returns a dict of filename → list of embeddings)
  • each embedding is 512-dimensional, one per detected face in the photo.

testing

  • tested on a group photo with 5 people, 5 faces detected, each returned a 512-dim embedding
  • ruff and mypy checks pass with no issues

@wailbentafat wailbentafat changed the base branch from main to develop March 25, 2026 15:35
@wailbentafat wailbentafat merged commit 143cf1d into develop Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants