PersonDirectoryExtensions.AddPersonFaceFromStreamAsync Método

Definição

Sobrecargas

AddPersonFaceFromStreamAsync(IPersonDirectory, Guid, String, Stream, String, String, String, CancellationToken)
AddPersonFaceFromStreamAsync(IPersonDirectory, String, String, Stream, String, String, String, CancellationToken)
Obsoleto.

AddPersonFaceFromStreamAsync(IPersonDirectory, Guid, String, Stream, String, String, String, CancellationToken)

Origem:
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

Retornos

Aplica-se a

AddPersonFaceFromStreamAsync(IPersonDirectory, String, String, Stream, String, String, String, CancellationToken)

Origem:
PersonDirectoryExtensions.cs

Cuidado

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

Retornos

Atributos

Aplica-se a