ImageModerations.ImageModerationsOCRMethodDefinitionStages.WithAllOptions Interface
public interface WithAllOptions
The stage of the definition which allows for any other optional settings to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
ImageModerationsOCRMethodDefinitionStages.WithExecute |
withCacheImage(Boolean cacheImage)
Whether to retain the submitted image for future use; defaults to false if omitted. |
ImageModerationsOCRMethodDefinitionStages.WithExecute |
withEnhanced(Boolean enhanced)
When set to True, the image goes through additional processing to come with additional candidates. image/tiff is not supported when enhanced is set to true Note: This impacts the response time. |
Method Details
withCacheImage
public ImageModerationsOCRMethodDefinitionStages.WithExecute withCacheImage(Boolean cacheImage)
Whether to retain the submitted image for future use; defaults to false if omitted.
Parameters:
Returns:
withEnhanced
public ImageModerationsOCRMethodDefinitionStages.WithExecute withEnhanced(Boolean enhanced)
When set to True, the image goes through additional processing to come with additional candidates. image/tiff is not supported when enhanced is set to true Note: This impacts the response time.
Parameters:
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour