PersonDirectoryExtensions.AddPersonFaceFromStreamAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AddPersonFaceFromStreamAsync(IPersonDirectory, Guid, String, Stream, String, String, String, CancellationToken)
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)
注意事項
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
戻り値
- 属性
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET