PeopleResult Class
- java.
lang. Object - com.
azure. ai. vision. imageanalysis. models. PeopleResult
- com.
Implements
public final class PeopleResult
implements JsonSerializable<PeopleResult>
Represents a list of people detected in an image and their location.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
People |
fromJson(JsonReader jsonReader)
Reads an instance of People |
List<Detected |
getValues()
Get the values property: A list of people detected in an image and their location. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static PeopleResult fromJson(JsonReader jsonReader)
Reads an instance of PeopleResult from the JsonReader.
Parameters:
jsonReader
- The JsonReader being read.
Returns:
An instance of PeopleResult if the JsonReader was pointing to an instance of it, or null if it was
pointing to JSON null.
Throws:
- If the deserialized JSON object was missing any required properties.
getValues
public List
Get the values property: A list of people detected in an image and their location.
Returns:
the values value.
toJson
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java