feat: Add thumbnail management for albums and people, implement face embedding functionality
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user