Dela via


AIVisionFaceModelFactory.FaceIdentificationCandidate(Guid, Single) Method

Definition

Initializes a new instance of FaceIdentificationCandidate.

public static Azure.AI.Vision.Face.FaceIdentificationCandidate FaceIdentificationCandidate (Guid personId = default, float confidence = 0);
static member FaceIdentificationCandidate : Guid * single -> Azure.AI.Vision.Face.FaceIdentificationCandidate
Public Shared Function FaceIdentificationCandidate (Optional personId As Guid = Nothing, Optional confidence As Single = 0) As FaceIdentificationCandidate

Parameters

personId
Guid

personId of candidate person.

confidence
Single

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

Returns

A new FaceIdentificationCandidate instance for mocking.

Applies to