ImageModerationExtensions.FindFacesUrlInputAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the list of faces found.
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)
Parameters
- operations
- IImageModeration
The operations group for this extension method.
- contentType
- String
The content type.
- imageUrl
- BodyModel
The image url.
Whether to retain the submitted image for future use; defaults to false if omitted.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET