Compartilhar via


FaceOperations.VerifyFaceToPersonWithHttpMessagesAsync Método

Definição

Verifique se dois rostos pertencem a uma mesma pessoa. Compara uma ID de rosto com uma ID de Pessoa

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.VerifyResult>> VerifyFaceToPersonWithHttpMessagesAsync (Guid faceId, Guid personId, string personGroupId = default, string largePersonGroupId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyFaceToPersonWithHttpMessagesAsync : Guid * Guid * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.VerifyResult>>
override this.VerifyFaceToPersonWithHttpMessagesAsync : Guid * Guid * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.VerifyResult>>
Public Function VerifyFaceToPersonWithHttpMessagesAsync (faceId As Guid, personId As Guid, Optional personGroupId As String = Nothing, Optional largePersonGroupId As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of VerifyResult))

Parâmetros

faceId
Guid

FaceId do rosto, vem de Face - Detectar

personId
Guid

Especifique uma determinada pessoa em um grupo de pessoas ou um grupo de pessoas grandes. personId é criado em PersonGroup Person - Create ou LargePersonGroup Person - Create.

personGroupId
String

Usando personGroupId e personId existentes para carregar rapidamente uma pessoa especificada. personGroupId é criado em PersonGroup – Criar. O parâmetro personGroupId e largePersonGroupId não devem ser fornecidos ao mesmo tempo.

largePersonGroupId
String

Usando largePersonGroupId e personId existentes para carregar rapidamente uma pessoa especificada. largePersonGroupId é criado em LargePersonGroup – Criar. O parâmetro personGroupId e largePersonGroupId não devem ser fornecidos ao mesmo tempo.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Implementações

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Gerado quando um parâmetro necessário é nulo

Aplica-se a