HeadPose Class
- java.
lang. Object - com.
azure. ai. vision. face. models. HeadPose
- com.
Implements
public final class HeadPose
implements JsonSerializable<HeadPose>
3-D roll/yaw/pitch angles for face direction.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Head |
fromJson(JsonReader jsonReader)
Reads an instance of Head |
| double |
getPitch()
Get the pitch property: Value of angles. |
| double |
getRoll()
Get the roll property: Value of angles. |
| double |
getYaw()
Get the yaw property: Value of angles. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static HeadPose fromJson(JsonReader jsonReader)
Reads an instance of HeadPose from the JsonReader.
Parameters:
Returns:
Throws:
getPitch
public double getPitch()
Get the pitch property: Value of angles.
Returns:
getRoll
public double getRoll()
Get the roll property: Value of angles.
Returns:
getYaw
public double getYaw()
Get the yaw property: Value of angles.
Returns: