FaceOperationsExtensions.VerifyFaceToPersonAsync 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.

Verify whether two faces belong to a same person. Compares a face Id with a Person Id

C#
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.VerifyResult> VerifyFaceToPersonAsync(this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations operations, Guid faceId, Guid personId, string personGroupId = default, string largePersonGroupId = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

operations
IFaceOperations

The operations group for this extension method.

faceId
Guid

FaceId of the face, comes from Face - Detect

personId
Guid

Specify a certain person in a person group or a large person group. personId is created in PersonGroup Person - Create or LargePersonGroup Person - Create.

personGroupId
String

Using existing personGroupId and personId for fast loading a specified person. personGroupId is created in PersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.

largePersonGroupId
String

Using existing largePersonGroupId and personId for fast loading a specified person. largePersonGroupId is created in LargePersonGroup - Create. Parameter personGroupId and largePersonGroupId should not be provided at the same time.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

Product Versions
Azure SDK for .NET Preview