ImageModerationExtensions.EvaluateUrlInputAsync 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 probabilities of the image containing racy or adult content.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Evaluate> EvaluateUrlInputAsync (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 EvaluateUrlInputAsync : 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.Evaluate>
<Extension()>
Public Function EvaluateUrlInputAsync (operations As IImageModeration, contentType As String, imageUrl As BodyModel, Optional cacheImage As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Evaluate)
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET