AIVisionFaceModelFactory.FaceFindSimilarResult Method

Definition

Initializes a new instance of FaceFindSimilarResult.

public static Azure.AI.Vision.Face.FaceFindSimilarResult FaceFindSimilarResult (float confidence = 0, Guid? faceId = default, Guid? persistedFaceId = default);
static member FaceFindSimilarResult : single * Nullable<Guid> * Nullable<Guid> -> Azure.AI.Vision.Face.FaceFindSimilarResult
Public Shared Function FaceFindSimilarResult (Optional confidence As Single = 0, Optional faceId As Nullable(Of Guid) = Nothing, Optional persistedFaceId As Nullable(Of Guid) = Nothing) As FaceFindSimilarResult

Parameters

confidence
Single

Confidence value of the candidate. 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 "Detect" and will expire 24 hours after the detection call.

persistedFaceId
Nullable<Guid>

persistedFaceId of candidate face when find by faceListId or largeFaceListId. persistedFaceId in face list/large face list is persisted and will not expire.

Returns

A new FaceFindSimilarResult instance for mocking.

Applies to