ImageModerations Interface
public interface ImageModerations
An instance of this class provides access to all the operations defined in ImageModerations.
Method Summary
Modifier and Type | Method and Description |
---|---|
ImageModerationsEvaluateFileInputDefinitionStages.WithImageStream |
evaluateFileInput()
Returns probabilities of the image containing racy or adult content. |
Evaluate |
evaluateFileInput(byte[] imageStream, EvaluateFileInputOptionalParameter evaluateFileInputOptionalParameter)
Returns probabilities of the image containing racy or adult content. |
Observable<Evaluate> |
evaluateFileInputAsync(byte[] imageStream, EvaluateFileInputOptionalParameter evaluateFileInputOptionalParameter)
Returns probabilities of the image containing racy or adult content. |
ImageModerationsEvaluateMethodDefinitionStages.WithExecute |
evaluateMethod()
Returns probabilities of the image containing racy or adult content. |
Evaluate |
evaluateMethod(EvaluateMethodOptionalParameter evaluateMethodOptionalParameter)
Returns probabilities of the image containing racy or adult content. |
Observable<Evaluate> |
evaluateMethodAsync(EvaluateMethodOptionalParameter evaluateMethodOptionalParameter)
Returns probabilities of the image containing racy or adult content. |
ImageModerationsEvaluateUrlInputDefinitionStages.WithContentType |
evaluateUrlInput()
Returns probabilities of the image containing racy or adult content. |
Evaluate |
evaluateUrlInput(String contentType, BodyModelModel imageUrl, EvaluateUrlInputOptionalParameter evaluateUrlInputOptionalParameter)
Returns probabilities of the image containing racy or adult content. |
Observable<Evaluate> |
evaluateUrlInputAsync(String contentType, BodyModelModel imageUrl, EvaluateUrlInputOptionalParameter evaluateUrlInputOptionalParameter)
Returns probabilities of the image containing racy or adult content. |
ImageModerationsFindFacesDefinitionStages.WithExecute |
findFaces()
Returns the list of faces found. |
Found |
findFaces(FindFacesOptionalParameter findFacesOptionalParameter)
Returns the list of faces found. |
Observable<Found |
findFacesAsync(FindFacesOptionalParameter findFacesOptionalParameter)
Returns the list of faces found. |
ImageModerationsFindFacesFileInputDefinitionStages.WithImageStream |
findFacesFileInput()
Returns the list of faces found. |
Found |
findFacesFileInput(byte[] imageStream, FindFacesFileInputOptionalParameter findFacesFileInputOptionalParameter)
Returns the list of faces found. |
Observable<Found |
findFacesFileInputAsync(byte[] imageStream, FindFacesFileInputOptionalParameter findFacesFileInputOptionalParameter)
Returns the list of faces found. |
ImageModerationsFindFacesUrlInputDefinitionStages.WithContentType |
findFacesUrlInput()
Returns the list of faces found. |
Found |
findFacesUrlInput(String contentType, BodyModelModel imageUrl, FindFacesUrlInputOptionalParameter findFacesUrlInputOptionalParameter)
Returns the list of faces found. |
Observable<Found |
findFacesUrlInputAsync(String contentType, BodyModelModel imageUrl, FindFacesUrlInputOptionalParameter findFacesUrlInputOptionalParameter)
Returns the list of faces found. |
ImageModerationsMatchFileInputDefinitionStages.WithImageStream |
matchFileInput()
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. |
Match |
matchFileInput(byte[] imageStream, MatchFileInputOptionalParameter matchFileInputOptionalParameter)
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. |
Observable<Match |
matchFileInputAsync(byte[] imageStream, MatchFileInputOptionalParameter matchFileInputOptionalParameter)
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. |
ImageModerationsMatchMethodDefinitionStages.WithExecute |
matchMethod()
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. |
Match |
matchMethod(MatchMethodOptionalParameter matchMethodOptionalParameter)
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. |
Observable<Match |
matchMethodAsync(MatchMethodOptionalParameter matchMethodOptionalParameter)
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. |
ImageModerationsMatchUrlInputDefinitionStages.WithContentType |
matchUrlInput()
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. |
Match |
matchUrlInput(String contentType, BodyModelModel imageUrl, MatchUrlInputOptionalParameter matchUrlInputOptionalParameter)
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. |
Observable<Match |
matchUrlInputAsync(String contentType, BodyModelModel imageUrl, MatchUrlInputOptionalParameter matchUrlInputOptionalParameter)
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. |
ImageModerationsOCRFileInputDefinitionStages.WithLanguage |
oCRFileInput()
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
OCR |
oCRFileInput(String language, byte[] imageStream, OCRFileInputOptionalParameter oCRFileInputOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
Observable<OCR> |
oCRFileInputAsync(String language, byte[] imageStream, OCRFileInputOptionalParameter oCRFileInputOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
ImageModerationsOCRMethodDefinitionStages.WithLanguage |
oCRMethod()
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
OCR |
oCRMethod(String language, OCRMethodOptionalParameter oCRMethodOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
Observable<OCR> |
oCRMethodAsync(String language, OCRMethodOptionalParameter oCRMethodOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
ImageModerationsOCRUrlInputDefinitionStages.WithLanguage |
oCRUrlInput()
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
OCR |
oCRUrlInput(String language, String contentType, BodyModelModel imageUrl, OCRUrlInputOptionalParameter oCRUrlInputOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
Observable<OCR> |
oCRUrlInputAsync(String language, String contentType, BodyModelModel imageUrl, OCRUrlInputOptionalParameter oCRUrlInputOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English. |
Method Details
evaluateFileInput
public ImageModerationsEvaluateFileInputDefinitionStages.WithImageStream evaluateFileInput()
Returns probabilities of the image containing racy or adult content.
Returns:
evaluateFileInput
public Evaluate evaluateFileInput(byte[] imageStream, EvaluateFileInputOptionalParameter evaluateFileInputOptionalParameter)
Returns probabilities of the image containing racy or adult content.
Parameters:
Returns:
Throws:
evaluateFileInputAsync
public Observable
Returns probabilities of the image containing racy or adult content.
Parameters:
Returns:
Throws:
evaluateMethod
public ImageModerationsEvaluateMethodDefinitionStages.WithExecute evaluateMethod()
Returns probabilities of the image containing racy or adult content.
Returns:
evaluateMethod
public Evaluate evaluateMethod(EvaluateMethodOptionalParameter evaluateMethodOptionalParameter)
Returns probabilities of the image containing racy or adult content.
Parameters:
Returns:
Throws:
evaluateMethodAsync
public Observable
Returns probabilities of the image containing racy or adult content.
Parameters:
Returns:
Throws:
evaluateUrlInput
public ImageModerationsEvaluateUrlInputDefinitionStages.WithContentType evaluateUrlInput()
Returns probabilities of the image containing racy or adult content.
Returns:
evaluateUrlInput
public Evaluate evaluateUrlInput(String contentType, BodyModelModel imageUrl, EvaluateUrlInputOptionalParameter evaluateUrlInputOptionalParameter)
Returns probabilities of the image containing racy or adult content.
Parameters:
Returns:
Throws:
evaluateUrlInputAsync
public Observable
Returns probabilities of the image containing racy or adult content.
Parameters:
Returns:
Throws:
findFaces
public ImageModerationsFindFacesDefinitionStages.WithExecute findFaces()
Returns the list of faces found.
Returns:
findFaces
public FoundFaces findFaces(FindFacesOptionalParameter findFacesOptionalParameter)
Returns the list of faces found.
Parameters:
Returns:
Throws:
findFacesAsync
public Observable
Returns the list of faces found.
Parameters:
Returns:
Throws:
findFacesFileInput
public ImageModerationsFindFacesFileInputDefinitionStages.WithImageStream findFacesFileInput()
Returns the list of faces found.
Returns:
findFacesFileInput
public FoundFaces findFacesFileInput(byte[] imageStream, FindFacesFileInputOptionalParameter findFacesFileInputOptionalParameter)
Returns the list of faces found.
Parameters:
Returns:
Throws:
findFacesFileInputAsync
public Observable
Returns the list of faces found.
Parameters:
Returns:
Throws:
findFacesUrlInput
public ImageModerationsFindFacesUrlInputDefinitionStages.WithContentType findFacesUrlInput()
Returns the list of faces found.
Returns:
findFacesUrlInput
public FoundFaces findFacesUrlInput(String contentType, BodyModelModel imageUrl, FindFacesUrlInputOptionalParameter findFacesUrlInputOptionalParameter)
Returns the list of faces found.
Parameters:
Returns:
Throws:
findFacesUrlInputAsync
public Observable
Returns the list of faces found.
Parameters:
Returns:
Throws:
matchFileInput
public ImageModerationsMatchFileInputDefinitionStages.WithImageStream matchFileInput()
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.
Returns:
matchFileInput
public MatchResponse matchFileInput(byte[] imageStream, MatchFileInputOptionalParameter matchFileInputOptionalParameter)
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.
Parameters:
Returns:
Throws:
matchFileInputAsync
public Observable
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.
Parameters:
Returns:
Throws:
matchMethod
public ImageModerationsMatchMethodDefinitionStages.WithExecute matchMethod()
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.
Returns:
matchMethod
public MatchResponse matchMethod(MatchMethodOptionalParameter matchMethodOptionalParameter)
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.
Parameters:
Returns:
Throws:
matchMethodAsync
public Observable
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.
Parameters:
Returns:
Throws:
matchUrlInput
public ImageModerationsMatchUrlInputDefinitionStages.WithContentType matchUrlInput()
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.
Returns:
matchUrlInput
public MatchResponse matchUrlInput(String contentType, BodyModelModel imageUrl, MatchUrlInputOptionalParameter matchUrlInputOptionalParameter)
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.
Parameters:
Returns:
Throws:
matchUrlInputAsync
public Observable
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.
Parameters:
Returns:
Throws:
oCRFileInput
public ImageModerationsOCRFileInputDefinitionStages.WithLanguage oCRFileInput()
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Returns:
oCRFileInput
public OCR oCRFileInput(String language, byte[] imageStream, OCRFileInputOptionalParameter oCRFileInputOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Parameters:
Returns:
Throws:
oCRFileInputAsync
public Observable
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Parameters:
Returns:
Throws:
oCRMethod
public ImageModerationsOCRMethodDefinitionStages.WithLanguage oCRMethod()
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Returns:
oCRMethod
public OCR oCRMethod(String language, OCRMethodOptionalParameter oCRMethodOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Parameters:
Returns:
Throws:
oCRMethodAsync
public Observable
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Parameters:
Returns:
Throws:
oCRUrlInput
public ImageModerationsOCRUrlInputDefinitionStages.WithLanguage oCRUrlInput()
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Returns:
oCRUrlInput
public OCR oCRUrlInput(String language, String contentType, BodyModelModel imageUrl, OCRUrlInputOptionalParameter oCRUrlInputOptionalParameter)
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Parameters:
Returns:
Throws:
oCRUrlInputAsync
public Observable
Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
Parameters:
Returns:
Throws: