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