Aracılığıyla paylaş


HeadPose Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.HeadPose

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.

HeadPose withPitch(double pitch)

Set the pitch value.

HeadPose withRoll(double roll)

Set the roll value.

HeadPose 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