Condividi tramite


FaceVerificationResult Class

Definition

Verify result.

public class FaceVerificationResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.Vision.Face.FaceVerificationResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Vision.Face.FaceVerificationResult>
type FaceVerificationResult = class
    interface IJsonModel<FaceVerificationResult>
    interface IPersistableModel<FaceVerificationResult>
Public Class FaceVerificationResult
Implements IJsonModel(Of FaceVerificationResult), IPersistableModel(Of FaceVerificationResult)
Inheritance
FaceVerificationResult
Implements

Properties

Confidence

A number indicates the similarity confidence of whether two faces belong to the same person, or whether the face belongs to the person. By default, isIdentical is set to True if similarity confidence is greater than or equal to 0.5. This is useful for advanced users to override 'isIdentical' and fine-tune the result on their own data.

IsIdentical

True if the two faces belong to the same person or the face belongs to the person, otherwise false.

Explicit Interface Implementations

IJsonModel<FaceVerificationResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FaceVerificationResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FaceVerificationResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FaceVerificationResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FaceVerificationResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to