FaceOperations.DetectWithStreamWithHttpMessagesAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>>> DetectWithStreamWithHttpMessagesAsync (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.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DetectWithStreamWithHttpMessagesAsync : 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.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>>>
override this.DetectWithStreamWithHttpMessagesAsync : 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.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>>>
Public Function DetectWithStreamWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of DetectedFace)))
Parámetros
- image
- Stream
- returnFaceAttributes
- IList<FaceAttributeType>
- recognitionModel
- String
- detectionModel
- String
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Devoluciones
Implementaciones
Se aplica a
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for .NET