ContentSafetyModelFactory.ImageCategoriesAnalysis Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ImageCategoriesAnalysis.
public static Azure.AI.ContentSafety.ImageCategoriesAnalysis ImageCategoriesAnalysis (Azure.AI.ContentSafety.ImageCategory category = default, int? severity = default);
static member ImageCategoriesAnalysis : Azure.AI.ContentSafety.ImageCategory * Nullable<int> -> Azure.AI.ContentSafety.ImageCategoriesAnalysis
Public Shared Function ImageCategoriesAnalysis (Optional category As ImageCategory = Nothing, Optional severity As Nullable(Of Integer) = Nothing) As ImageCategoriesAnalysis
Parameters
- category
- ImageCategory
The image analysis category.
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
A new ImageCategoriesAnalysis instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET