Add Face
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s

This commit is contained in:
astankovmi committed 2026-06-23 16:33:23 +03:00
1 parent 794fc621ff
commit 90cbc7c506
14 files changed
+33988

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
namespace FaceRecognitionApp.Models;
public class Employee
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Department { get; set; }
public byte[] FaceDescriptor { get; set; } = Array.Empty<byte>();
public byte[]? Photo { get; set; }
}
public class DetectedFace
{
public byte[] ImageData { get; set; } = Array.Empty<byte>();
public bool IsRecognized { get; set; }
public Employee? MatchedEmployee { get; set; }
public double Confidence { get; set; }
}