com.pax.dal.entity
Class FaceAngle
- java.lang.Object
-
- com.pax.dal.entity.FaceAngle
-
public class FaceAngle extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description FaceAngle()FaceAngle(float pitch, float roll, float yaw)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatgetPitch()面部俯仰角度。Face pitch Angle.floatgetRoll()面部左右倾斜角度。Face left and right tilt Angle.floatgetYaw()面部左右扭头角度。Face left and right turn head Angle.voidsetPitch(float pitch)面部俯仰角度。Face pitch Angle.voidsetRoll(float roll)面部左右倾斜角度。Face left and right tilt Angle.voidsetYaw(float yaw)面部左右扭头角度。Face left and right turn head Angle.java.lang.StringtoString()
-
-
-
Constructor Detail
-
FaceAngle
public FaceAngle()
-
FaceAngle
public FaceAngle(float pitch, float roll, float yaw)
-
-
Method Detail
-
getPitch
public float getPitch()
面部俯仰角度。Face pitch Angle.- Returns:
- 面部俯仰角度。取值范围-90~90。在-30~30内效果准确,角度偏移过大可能造成检测失败或者点位不准。Angle of face pitch. Values range from -90 to 90.Within -30~30, the effect is accurate, and large angle deviation may result in detection failure or inaccurate positioning.
-
setPitch
public void setPitch(float pitch)
面部俯仰角度。Face pitch Angle.- Parameters:
pitch-面部俯仰角度。取值范围-90~90。在-30~30内效果准确,角度偏移过大可能造成检测失败或者点位不准。Angle of face pitch. Values range from -90 to 90.Within -30~30, the effect is accurate, and large angle deviation may result in detection failure or inaccurate positioning.
-
getRoll
public float getRoll()
面部左右倾斜角度。Face left and right tilt Angle.- Returns:
- 面部左右倾斜角度。取值范围-180~180。在-60~60内效果准确,角度偏移过大可能造成检测失败或者点位不准。Angle of face tilt. Values range from -180 to 180.Within -60~60, the effect is accurate, and large angle deviation may result in detection failure or inaccurate positioning.
-
setRoll
public void setRoll(float roll)
面部左右倾斜角度。Face left and right tilt Angle.- Parameters:
roll-面部左右倾斜角度。取值范围-180~180。在-60~60内效果准确,角度偏移过大可能造成检测失败或者点位不准。Angle of face tilt. Values range from -180 to 180.Within -60~60, the effect is accurate, and large angle deviation may result in detection failure or inaccurate positioning.
-
getYaw
public float getYaw()
面部左右扭头角度。Face left and right turn head Angle.- Returns:
- 面部左右扭头角度。取值范围-90~90。在-30~30内效果准确,角度偏移过大可能造成检测失败或者点位不准。Angle of head torsion. Values range from -90 to 90.Within -30~30, the effect is accurate, and large angle deviation may result in detection failure or inaccurate positioning.
-
setYaw
public void setYaw(float yaw)
面部左右扭头角度。Face left and right turn head Angle.- Parameters:
yaw-面部左右扭头角度。取值范围-90~90。在-30~30内效果准确,角度偏移过大可能造成检测失败或者点位不准。Angle of head torsion. Values range from -90 to 90.Within -30~30, the effect is accurate, and large angle deviation may result in detection failure or inaccurate positioning.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-