Freigeben über


FaceOperationsExtensions.DetectWithStreamAsync Methode

Definition

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>> DetectWithStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations operations, System.IO.Stream image, bool? returnFaceId = default, bool? returnFaceLandmarks = False, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributeType> returnFaceAttributes = default, string recognitionModel = default, bool? returnRecognitionModel = False, string detectionModel = default, int? faceIdTimeToLive = 86400, System.Threading.CancellationToken cancellationToken = default);
static member DetectWithStreamAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations * System.IO.Stream * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributeType> * string * Nullable<bool> * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>>
<Extension()>
Public Function DetectWithStreamAsync (operations As IFaceOperations, image As Stream, Optional returnFaceId As Nullable(Of Boolean) = Nothing, Optional returnFaceLandmarks As Nullable(Of Boolean) = False, Optional returnFaceAttributes As IList(Of FaceAttributeType) = Nothing, Optional recognitionModel As String = Nothing, Optional returnRecognitionModel As Nullable(Of Boolean) = False, Optional detectionModel As String = Nothing, Optional faceIdTimeToLive As Nullable(Of Integer) = 86400, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of DetectedFace))

Parameter

operations
IFaceOperations
image
Stream
returnFaceId
Nullable<Boolean>
returnFaceLandmarks
Nullable<Boolean>
returnFaceAttributes
IList<FaceAttributeType>
recognitionModel
String
returnRecognitionModel
Nullable<Boolean>
detectionModel
String
faceIdTimeToLive
Nullable<Int32>
cancellationToken
CancellationToken

Gibt zurück

Gilt für: