ImageModerationExtensions.EvaluateUrlInput Method

Definition

Returns probabilities of the image containing racy or adult content.

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

Parameters

operations
IImageModeration

The operations group for this extension method.

contentType
String

The content type.

imageUrl
BodyModel

The image url.

cacheImage
Nullable<Boolean>

Whether to retain the submitted image for future use; defaults to false if omitted.

Returns

Applies to