Share via


SimilarFace Constructors

Definition

Overloads

SimilarFace()

Initializes a new instance of the SimilarFace class.

SimilarFace(Double, Nullable<Guid>, Nullable<Guid>)

Initializes a new instance of the SimilarFace class.

SimilarFace()

Source:
SimilarFace.cs

Initializes a new instance of the SimilarFace class.

public SimilarFace ();
Public Sub New ()

Applies to

SimilarFace(Double, Nullable<Guid>, Nullable<Guid>)

Source:
SimilarFace.cs

Initializes a new instance of the SimilarFace class.

public SimilarFace (double confidence, Guid? faceId = default, Guid? persistedFaceId = default);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.SimilarFace : double * Nullable<Guid> * Nullable<Guid> -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.SimilarFace
Public Sub New (confidence As Double, Optional faceId As Nullable(Of Guid) = Nothing, Optional persistedFaceId As Nullable(Of Guid) = Nothing)

Parameters

confidence
Double

Similarity confidence of the candidate face. The higher confidence, the more similar. Range between [0,1].

faceId
Nullable<Guid>

FaceId of candidate face when find by faceIds. faceId is created by Face - Detect and will expire 24 hours after the detection call

persistedFaceId
Nullable<Guid>

PersistedFaceId of candidate face when find by faceListId. persistedFaceId in face list is persisted and will not expire. As showed in below response

Applies to