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

@@ -18,7 +18,6 @@ pub enum PostgresMediaMetadataSource {
TrackInfo,
}
#[derive(sqlx::FromRow)]
pub struct PostgresUser {
pub id: Uuid,
@@ -116,4 +115,12 @@ pub struct PostgresPersonShared {
pub owner_id: Uuid,
pub name: String,
pub permission: PostgresPersonPermission,
}
}
#[derive(sqlx::FromRow)]
pub struct PostgresFaceEmbedding {
pub id: Uuid,
pub face_region_id: Uuid,
pub model_id: i16,
pub embedding: Vec<u8>,
}