ImageModeration Class

Definition

ImageModeration operations.

public class ImageModeration : Microsoft.Azure.CognitiveServices.ContentModerator.IImageModeration, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.ContentModerator.ContentModeratorClient>
type ImageModeration = class
    interface IServiceOperations<ContentModeratorClient>
    interface IImageModeration
Public Class ImageModeration
Implements IImageModeration, IServiceOperations(Of ContentModeratorClient)
Inheritance
ImageModeration
Implements

Constructors

ImageModeration(ContentModeratorClient)

Initializes a new instance of the ImageModeration class.

Properties

Client

Gets a reference to the ContentModeratorClient

Methods

EvaluateFileInputWithHttpMessagesAsync(Stream, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns probabilities of the image containing racy or adult content.

EvaluateMethodWithHttpMessagesAsync(Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns probabilities of the image containing racy or adult content.

EvaluateUrlInputWithHttpMessagesAsync(String, BodyModel, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns probabilities of the image containing racy or adult content.

FindFacesFileInputWithHttpMessagesAsync(Stream, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns the list of faces found.

FindFacesUrlInputWithHttpMessagesAsync(String, BodyModel, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns the list of faces found.

FindFacesWithHttpMessagesAsync(Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns the list of faces found.

MatchFileInputWithHttpMessagesAsync(Stream, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchMethodWithHttpMessagesAsync(String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchUrlInputWithHttpMessagesAsync(String, BodyModel, String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

OCRFileInputWithHttpMessagesAsync(String, Stream, Nullable<Boolean>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRMethodWithHttpMessagesAsync(String, Nullable<Boolean>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRUrlInputWithHttpMessagesAsync(String, String, BodyModel, Nullable<Boolean>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

Extension Methods

EvaluateFileInput(IImageModeration, Stream, Nullable<Boolean>)

Returns probabilities of the image containing racy or adult content.

EvaluateFileInputAsync(IImageModeration, Stream, Nullable<Boolean>, CancellationToken)

Returns probabilities of the image containing racy or adult content.

EvaluateMethod(IImageModeration, Nullable<Boolean>)

Returns probabilities of the image containing racy or adult content.

EvaluateMethodAsync(IImageModeration, Nullable<Boolean>, CancellationToken)

Returns probabilities of the image containing racy or adult content.

EvaluateUrlInput(IImageModeration, String, BodyModel, Nullable<Boolean>)

Returns probabilities of the image containing racy or adult content.

EvaluateUrlInputAsync(IImageModeration, String, BodyModel, Nullable<Boolean>, CancellationToken)

Returns probabilities of the image containing racy or adult content.

FindFaces(IImageModeration, Nullable<Boolean>)

Returns the list of faces found.

FindFacesAsync(IImageModeration, Nullable<Boolean>, CancellationToken)

Returns the list of faces found.

FindFacesFileInput(IImageModeration, Stream, Nullable<Boolean>)

Returns the list of faces found.

FindFacesFileInputAsync(IImageModeration, Stream, Nullable<Boolean>, CancellationToken)

Returns the list of faces found.

FindFacesUrlInput(IImageModeration, String, BodyModel, Nullable<Boolean>)

Returns the list of faces found.

FindFacesUrlInputAsync(IImageModeration, String, BodyModel, Nullable<Boolean>, CancellationToken)

Returns the list of faces found.

MatchFileInput(IImageModeration, Stream, String, Nullable<Boolean>)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchFileInputAsync(IImageModeration, Stream, String, Nullable<Boolean>, CancellationToken)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchMethod(IImageModeration, String, Nullable<Boolean>)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchMethodAsync(IImageModeration, String, Nullable<Boolean>, CancellationToken)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchUrlInput(IImageModeration, String, BodyModel, String, Nullable<Boolean>)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

MatchUrlInputAsync(IImageModeration, String, BodyModel, String, Nullable<Boolean>, CancellationToken)

Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using <a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe">this</a> API.

Returns ID and tags of matching image.<br/> <br/> Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

OCRFileInput(IImageModeration, String, Stream, Nullable<Boolean>, Nullable<Boolean>)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRFileInputAsync(IImageModeration, String, Stream, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRMethod(IImageModeration, String, Nullable<Boolean>, Nullable<Boolean>)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRMethodAsync(IImageModeration, String, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRUrlInput(IImageModeration, String, String, BodyModel, Nullable<Boolean>, Nullable<Boolean>)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

OCRUrlInputAsync(IImageModeration, String, String, BodyModel, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.

Applies to