This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user