PersonDirectoryExtensions.AddPersonFaceFromStreamAsync メソッド

定義

オーバーロード

AddPersonFaceFromStreamAsync(IPersonDirectory, Guid, String, Stream, String, String, String, CancellationToken)
AddPersonFaceFromStreamAsync(IPersonDirectory, String, String, Stream, String, String, String, CancellationToken)
古い.

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

ソース:
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))

パラメーター

operations
IPersonDirectory
personId
Guid
recognitionModel
String
image
Stream
detectionModel
String
userData
String
targetFace
String
cancellationToken
CancellationToken

戻り値

適用対象

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

ソース:
PersonDirectoryExtensions.cs

注意事項

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))

パラメーター

operations
IPersonDirectory
personId
String
recognitionModel
String
image
Stream
detectionModel
String
userData
String
targetFace
String
cancellationToken
CancellationToken

戻り値

属性

適用対象