DenseCaptionsResult Class
- java.
lang. Object - com.
azure. ai. vision. imageanalysis. models. DenseCaptionsResult
- com.
Implements
public final class DenseCaptionsResult
implements JsonSerializable<DenseCaptionsResult>
Represents a list of up to 10 image captions for different regions of the image. The first caption always applies to the whole image.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Dense |
fromJson(JsonReader jsonReader)
Reads an instance of Dense |
List<Dense |
getValues()
Get the values property: The list of image captions. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DenseCaptionsResult fromJson(JsonReader jsonReader)
Reads an instance of DenseCaptionsResult from the JsonReader.
Parameters:
Returns:
Throws:
getValues
public List
Get the values property: The list of image captions.
Returns:
toJson
Applies to
Azure SDK for Java