ObjectsResult Class

  • java.lang.Object
    • com.azure.ai.vision.imageanalysis.models.ObjectsResult

Implements

public final class ObjectsResult
implements JsonSerializable<ObjectsResult>

Represents a list of physical object detected in an image and their location.

Method Summary

Modifier and Type Method and Description
static ObjectsResult fromJson(JsonReader jsonReader)

Reads an instance of ObjectsResult from the JsonReader.

List<DetectedObject> getValues()

Get the values property: A list of physical object detected in an image and their location.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ObjectsResult fromJson(JsonReader jsonReader)

Reads an instance of ObjectsResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ObjectsResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getValues

public List getValues()

Get the values property: A list of physical object detected in an image and their location.

Returns:

the values value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to