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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java