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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for Java