IFaceOperations.VerifyFaceToPersonWithHttpMessagesAsync メソッド

定義

2 つの顔が同じ人物に属しているかどうかを確認します。 顔 ID と人物 ID を比較します

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>>
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))

パラメーター

faceId
Guid

顔の FaceId、Face から取得 - 検出

personId
Guid

ユーザー グループまたは大規模なユーザー グループ内の特定のユーザーを指定します。 personId は、PersonGroup Person - Create または LargePersonGroup Person - Create で作成されます。

personGroupId
String

既存の personGroupId と personId を使用して、指定されたユーザーを高速に読み込む。 personGroupId は PersonGroup - Create に作成されます。 パラメーター personGroupId と largePersonGroupId を同時に指定しないでください。

largePersonGroupId
String

指定したユーザーを高速に読み込むには、既存の largePersonGroupId と personId を使用します。 largePersonGroupId は LargePersonGroup に作成されます

  • 作成。 パラメーター personGroupId と largePersonGroupId を同時に指定しないでください。
customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象