Skip to main content

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.

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​

NameDescriptionValue
AdultDetects if the image is pornographic in nature (depicts nudity or a sex act). Sexually suggestive content is also detected.
CategoriesCategorizes image content according to a taxonomy defined in documentation.
ColorDescribes the image content with a complete sentence.
DescriptionTags the image with a detailed list of words related to the image content.
FacesDetects if faces are present. If present, generate coordinates, gender and age.
ImageTypeDetermines the accent color, dominant color, and whether an image is black&white.
TagsDetects if image is clipart or a line drawing.