AIVisionFaceModelFactory.FaceFindSimilarResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 of candidate face when find by faceIds. faceId is created by "Detect" and will expire 24 hours after the detection call.
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.