예제 #1
0
 private void GetAngles(FaceLandmarks currentLandmarks)
 {
     currentPosture = new FacePosture();
     currentPosture.updatePoints(currentLandmarks);
     currentPosture.GetAnglesAndPoints(model_points);
     print("roll:" + currentPosture.angles.roll + " yaw:" + currentPosture.angles.yaw + " pitch:" + currentPosture.angles.pitch);
 }
예제 #2
0
        public void InitFace()
        {
            originalLandmarks = null;

            currentLandmarks = null;

            currentPosture = null;
        }