Compartilhar via


LargePersonGroupPersonExtensions.AddFaceFromStreamAsync Método

Definição

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace> AddFaceFromStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupPerson operations, string largePersonGroupId, Guid personId, System.IO.Stream image, string userData = default, System.Collections.Generic.IList<int> targetFace = default, string detectionModel = default, System.Threading.CancellationToken cancellationToken = default);
static member AddFaceFromStreamAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupPerson * string * Guid * System.IO.Stream * string * System.Collections.Generic.IList<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace>
<Extension()>
Public Function AddFaceFromStreamAsync (operations As ILargePersonGroupPerson, largePersonGroupId As String, personId As Guid, image As Stream, 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)

Parâmetros

largePersonGroupId
String
personId
Guid
image
Stream
userData
String
targetFace
IList<Int32>
detectionModel
String
cancellationToken
CancellationToken

Retornos

Aplica-se a