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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for Java