PersonGroupPersonExtensions.AddFaceFromUrlAsync(IPersonGroupPerson, String, Guid, String, String, IList<Int32>, String, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace> AddFaceFromUrlAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson operations, string personGroupId, Guid personId, string url, string userData = default, System.Collections.Generic.IList<int> targetFace = default, string detectionModel = default, System.Threading.CancellationToken cancellationToken = default);
static member AddFaceFromUrlAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson * string * Guid * string * string * System.Collections.Generic.IList<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>
<Extension()>
Public Function AddFaceFromUrlAsync (operations As IPersonGroupPerson, personGroupId As String, personId As Guid, url As String, Optional userData As String = Nothing, Optional targetFace As IList(Of Integer) = Nothing, Optional detectionModel As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersistedFace)

Parameters

operations
IPersonGroupPerson
personGroupId
String
personId
Guid
url
String
userData
String
targetFace
IList<Int32>
detectionModel
String
cancellationToken
CancellationToken

Returns

Task<PersistedFace>

Applies to