SmartCropsResult Class
- java.
lang. Object - com.
azure. ai. vision. imageanalysis. models. SmartCropsResult
- com.
Implements
public final class SmartCropsResult
implements JsonSerializable<SmartCropsResult>
Smart cropping result. A list of crop regions at the desired as aspect ratios (if provided) that can be used as image thumbnails. These regions preserve as much content as possible from the analyzed image, with priority given to detected faces.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Smart |
fromJson(JsonReader jsonReader)
Reads an instance of Smart |
List<Crop |
getValues()
Get the values property: A list of crop regions. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SmartCropsResult fromJson(JsonReader jsonReader)
Reads an instance of SmartCropsResult from the JsonReader.
Parameters:
Returns:
Throws:
getValues
public List
Get the values property: A list of crop regions.
Returns:
toJson
Applies to
Azure SDK for Java