FaceListOperationsExtensions.AddFaceFromStreamAsync 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.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersistedFace> AddFaceFromStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceListOperations operations, string faceListId, 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.IFaceListOperations * string * 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 IFaceListOperations, faceListId As String, 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)
Parameters
- operations
- IFaceListOperations
- faceListId
- String
- image
- Stream
- userData
- String
- detectionModel
- String
- cancellationToken
- CancellationToken
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET