Share via


ImageModerationExtensions.FindFacesUrlInputAsync メソッド

定義

見つかった顔の一覧を返します。

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.FoundFaces> FindFacesUrlInputAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IImageModeration operations, string contentType, Microsoft.Azure.CognitiveServices.ContentModerator.Models.BodyModel imageUrl, bool? cacheImage = default, System.Threading.CancellationToken cancellationToken = default);
static member FindFacesUrlInputAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IImageModeration * string * Microsoft.Azure.CognitiveServices.ContentModerator.Models.BodyModel * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.FoundFaces>
<Extension()>
Public Function FindFacesUrlInputAsync (operations As IImageModeration, contentType As String, imageUrl As BodyModel, Optional cacheImage As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FoundFaces)

パラメーター

operations
IImageModeration

この拡張メソッドの操作グループ。

contentType
String

コンテンツの種類。

imageUrl
BodyModel

イメージの URL。

cacheImage
Nullable<Boolean>

提出された画像を将来の使用のために保持するかどうか。省略した場合、既定値は false になります。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象