feat: Add thumbnail management for albums and people, implement face embedding functionality

This commit is contained in:
2025-11-15 22:50:53 +01:00
parent 98f56e4f1e
commit 0f3e098d6d
28 changed files with 560 additions and 26 deletions

View File

@@ -0,0 +1,7 @@
CREATE TABLE face_embeddings (
id UUID PRIMARY KEY,
face_region_id UUID NOT NULL REFERENCES face_regions(id) ON DELETE CASCADE,
model_id SMALLINT NOT NULL,
embedding BYTEA NOT NULL
);
CREATE UNIQUE INDEX idx_face_embeddings_region_id ON face_embeddings (face_region_id);