Class ImageCategoriesAnalysis

java.lang.Object
com.azure.ai.contentsafety.models.ImageCategoriesAnalysis

public final class ImageCategoriesAnalysis extends Object
Image analysis result.
  • Method Details

    • getCategory

      public ImageCategory getCategory()
      Get the category property: The image analysis category.
      Returns:
      the category value.
    • getSeverity

      public Integer getSeverity()
      Get the severity property: The value increases with the severity of the input content. The value of this field is determined by the output type specified in the request. The output type could be ‘FourSeverityLevels’, and the output value can be 0, 2, 4, 6.
      Returns:
      the severity value.