HeadPose Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. HeadPose
- com.
public class HeadPose
Properties indicating head pose of the face.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
pitch()
Get the pitch value. |
double |
roll()
Get the roll value. |
Head |
withPitch(double pitch)
Set the pitch value. |
Head |
withRoll(double roll)
Set the roll value. |
Head |
withYaw(double yaw)
Set the yaw value. |
double |
yaw()
Get the yaw value. |
Method Details
pitch
public double pitch()
Get the pitch value.
Returns:
the pitch value
roll
public double roll()
Get the roll value.
Returns:
the roll value
withPitch
public HeadPose withPitch(double pitch)
Set the pitch value.
Parameters:
pitch
- the pitch value to set
Returns:
the HeadPose object itself.
withRoll
public HeadPose withRoll(double roll)
Set the roll value.
Parameters:
roll
- the roll value to set
Returns:
the HeadPose object itself.
withYaw
public HeadPose withYaw(double yaw)
Set the yaw value.
Parameters:
yaw
- the yaw value to set
Returns:
the HeadPose object itself.
yaw
public double yaw()
Get the yaw value.
Returns:
the yaw value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java