Table of Contents

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

Cpf string

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.

Image ReadOnlyMemory<byte>

The captured image, as the raw bytes of the file.

Format FaceImageFormatType

Format 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

string

Format

Format of Image.

public FaceImageFormatType Format { get; init; }

Property Value

FaceImageFormatType

Image

The captured image, as the raw bytes of the file.

public ReadOnlyMemory<byte> Image { get; init; }

Property Value

ReadOnlyMemory<byte>