Class FaceVerificationRequest
- Namespace
- NuvTools.Security.Biometrics
- Assembly
- NuvTools.Security.dll
A captured face to compare with the one on record for a person.
public sealed record FaceVerificationRequest : IEquatable<FaceVerificationRequest>
- Inheritance
-
FaceVerificationRequest
- Implements
- Inherited Members
Constructors
FaceVerificationRequest(string, ReadOnlyMemory<byte>, FaceImageFormatType)
A captured face to compare with the one on record for a person.
public FaceVerificationRequest(string Cpf, ReadOnlyMemory<byte> Image, FaceImageFormatType Format = FaceImageFormatType.Jpeg)
Parameters
CpfstringCPF of the person the face should belong to, formatted or not. Take it from the account being signed in to, on the server — not from what the client typed next to the capture.
ImageReadOnlyMemory<byte>The captured image, as the raw bytes of the file.
FormatFaceImageFormatTypeFormat of
Image.
Properties
Cpf
CPF of the person the face should belong to, formatted or not. Take it from the account being signed in to, on the server — not from what the client typed next to the capture.
public string Cpf { get; init; }
Property Value
Format
Format of Image.
public FaceImageFormatType Format { get; init; }
Property Value
Image
The captured image, as the raw bytes of the file.
public ReadOnlyMemory<byte> Image { get; init; }