feat(face-recognition): add face detection support and UI overlay

This commit is contained in:
shiyu
2025-06-16 12:47:48 +08:00
parent 18ad7a3a53
commit 00dbaff8b2
8 changed files with 227 additions and 58 deletions

View File

@@ -0,0 +1,11 @@
namespace Foxel.Models.Response.Picture;
public record FaceResponse
{
public int X { get; set; }
public int Y { get; set; }
public int W { get; set; }
public int H { get; set; }
public double FaceConfidence { get; set; }
public string? PersonName { get; set; }
}

View File

@@ -27,5 +27,5 @@ public record PictureResponse
public string? AlbumName { get; set; }
public PermissionType Permission { get; set; } = PermissionType.Public;
public string? StorageModeName { get; set; }
public List<FaceResponse>? Faces { get; set; }
}