mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
* feat(server): Avoid face matching with people born after file creation date (#4743) * lint * add medium tests for facial recognition --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
4336afd6bf
commit
b621281351
10 changed files with 422 additions and 5 deletions
|
|
@ -136,6 +136,7 @@ with
|
|||
"asset_faces"
|
||||
inner join "assets" on "assets"."id" = "asset_faces"."assetId"
|
||||
inner join "face_search" on "face_search"."faceId" = "asset_faces"."id"
|
||||
left join "person" on "person"."id" = "asset_faces"."personId"
|
||||
where
|
||||
"assets"."ownerId" = any ($2::uuid[])
|
||||
and "assets"."deletedAt" is null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue