PersonDirectoryExtensions.AddPersonFaceFromStreamAsync 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í.
Sobrecargas
AddPersonFaceFromStreamAsync(IPersonDirectory, Guid, String, Stream, String, String, String, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentPrintResponse,Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryAddPersonFaceFromStreamHeaders>> AddPersonFaceFromStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, string recognitionModel, System.IO.Stream image, string detectionModel = default, string userData = default, string targetFace = default, System.Threading.CancellationToken cancellationToken = default);
static member AddPersonFaceFromStreamAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * string * System.IO.Stream * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentPrintResponse, Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryAddPersonFaceFromStreamHeaders>>
<Extension()>
Public Function AddPersonFaceFromStreamAsync (operations As IPersonDirectory, personId As Guid, recognitionModel As String, image As Stream, Optional detectionModel As String = Nothing, Optional userData As String = Nothing, Optional targetFace As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EnrollmentPrintResponse, PersonDirectoryAddPersonFaceFromStreamHeaders))
Parámetros
- operations
- IPersonDirectory
- personId
- Guid
- recognitionModel
- String
- image
- Stream
- detectionModel
- String
- userData
- String
- targetFace
- String
- cancellationToken
- CancellationToken
Devoluciones
Se aplica a
AddPersonFaceFromStreamAsync(IPersonDirectory, String, String, Stream, String, String, String, CancellationToken)
- Source:
- PersonDirectoryExtensions.cs
Precaución
Method is being deprecated, consider using other overloads.
[System.Obsolete("Method is being deprecated, consider using other overloads.", false)]
public static System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentPrintResponse,Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryAddPersonFaceFromStreamHeaders>> AddPersonFaceFromStreamAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, string recognitionModel, System.IO.Stream image, string detectionModel = default, string userData = default, string targetFace = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member AddPersonFaceFromStreamAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * string * System.IO.Stream * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.Face.Models.EnrollmentPrintResponse, Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryAddPersonFaceFromStreamHeaders>>
<Extension()>
Public Function AddPersonFaceFromStreamAsync (operations As IPersonDirectory, personId As String, recognitionModel As String, image As Stream, Optional detectionModel As String = Nothing, Optional userData As String = Nothing, Optional targetFace As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EnrollmentPrintResponse, PersonDirectoryAddPersonFaceFromStreamHeaders))
Parámetros
- operations
- IPersonDirectory
- personId
- String
- recognitionModel
- String
- image
- Stream
- detectionModel
- String
- userData
- String
- targetFace
- String
- cancellationToken
- CancellationToken
Devoluciones
- Atributos
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