VisualFeatures
Namespace: Wisej.Ext.CognitiveServices
Assembly: Wisej.Ext.CognitiveServices (4.1.0.0)
Specifies the visual features to return when requesting an image analysis from the Azure Cognitive Services Computer Vision API.
- C#
- VB.NET
public enum VisualFeatures
Public Enum VisualFeatures
The names of the enum members are passed as a comma separated list in the visualFeatures query parameter of RequestParameters.
Example:
// request categories, tags and a description of the image.
VisualFeatures[] features = { VisualFeatures.Categories, VisualFeatures.Tags, VisualFeatures.Description };
this.cognitiveServices1.RequestParameters = "visualFeatures=" + String.Join(",", features);
Fields
| Name | Description | Value |
|---|---|---|
| Adult | Detects if the image is pornographic in nature (depicts nudity or a sex act). Sexually suggestive content is also detected. | |
| Categories | Categorizes image content according to a taxonomy defined in documentation. | |
| Color | Describes the image content with a complete sentence. | |
| Description | Tags the image with a detailed list of words related to the image content. | |
| Faces | Detects if faces are present. If present, generate coordinates, gender and age. | |
| ImageType | Determines the accent color, dominant color, and whether an image is black&white. | |
| Tags | Detects if image is clipart or a line drawing. |