你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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