Class VisualFeatures
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VisualFeatures>
com.azure.ai.vision.imageanalysis.models.VisualFeatures
The visual features supported by the Image Analysis service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VisualFeaturesGenerate a human-readable caption sentence that describes the content of the image.static final VisualFeaturesGenerate human-readable caption sentences for up to 10 different regions in the image, including one for the whole image.static final VisualFeaturesObject detection.static final VisualFeaturesDetect people in the image and return their location.static final VisualFeaturesExtract printed or handwritten text from the image.static final VisualFeaturesFind representative sub-regions of the image for thumbnail generation, at desired aspect ratios, with priority given to detected faces.static final VisualFeaturesExtract content tags for thousands of recognizable objects, living beings, scenery, and actions that appear in the image. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VisualFeaturesfromString(String name) Creates or finds a VisualFeatures from its string representation.static Collection<VisualFeatures>values()Gets known VisualFeatures values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TAGS
Extract content tags for thousands of recognizable objects, living beings, scenery, and actions that appear in the image. -
CAPTION
Generate a human-readable caption sentence that describes the content of the image. -
DENSE_CAPTIONS
Generate human-readable caption sentences for up to 10 different regions in the image, including one for the whole image. -
OBJECTS
Object detection. This is similar to tags, but focused on detecting physical objects in the image and returning their location. -
READ
Extract printed or handwritten text from the image. Also known as Optical Character Recognition (OCR). -
SMART_CROPS
Find representative sub-regions of the image for thumbnail generation, at desired aspect ratios, with priority given to detected faces. -
PEOPLE
Detect people in the image and return their location.
-
-
Constructor Details
-
VisualFeatures
Deprecated.Use thefromString(String)factory method.Creates a new instance of VisualFeatures value.
-
-
Method Details
-
fromString
Creates or finds a VisualFeatures from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VisualFeatures.
-
values
Gets known VisualFeatures values.- Returns:
- known VisualFeatures values.
-
fromString(String)factory method.