From c13dba86b2dbe581353b72602d7fa6e40991964c Mon Sep 17 00:00:00 2001 From: natanielruiz <nataniel777@hotmail.com> Date: 星期三, 27 九月 2017 04:11:23 +0800 Subject: [PATCH] next --- code/utils.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/code/utils.py b/code/utils.py index 01710b2..96c447b 100644 --- a/code/utils.py +++ b/code/utils.py @@ -14,7 +14,7 @@ def get_pose_params_from_mat(mat_path): # This functions gets the pose parameters from the .mat - # Annotations that come with the 300W_LP dataset. + # Annotations that come with the Pose_300W_LP dataset. mat = sio.loadmat(mat_path) # [pitch yaw roll tdx tdy tdz scale_factor] pre_pose_params = mat['Pose_Para'][0] @@ -50,7 +50,6 @@ p = pitch * np.pi / 180 y = -(yaw * np.pi / 180) r = roll * np.pi / 180 - if tdx != None and tdy != None: face_x = tdx - 0.50 * size face_y = tdy - 0.50 * size -- Gitblit v1.8.0