Delen via


VerifyResult Constructors

Definition

Overloads

VerifyResult()

Initializes a new instance of the VerifyResult class.

VerifyResult(Boolean, Double)

Initializes a new instance of the VerifyResult class.

VerifyResult()

Source:
VerifyResult.cs

Initializes a new instance of the VerifyResult class.

public VerifyResult ();
Public Sub New ()

Applies to

VerifyResult(Boolean, Double)

Source:
VerifyResult.cs

Initializes a new instance of the VerifyResult class.

public VerifyResult (bool isIdentical, double confidence);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.VerifyResult : bool * double -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.VerifyResult
Public Sub New (isIdentical As Boolean, confidence As Double)

Parameters

isIdentical
Boolean

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

confidence
Double

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.

Applies to