From 704f0404795d8d5ef982549c1aa145434f0f0097 Mon Sep 17 00:00:00 2001 From: hyhmrright <hyhmrright@163.com> Date: 星期五, 31 五月 2019 13:14:18 +0800 Subject: [PATCH] git ignore --- code/datasets.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/code/datasets.py b/code/datasets.py index 8d05d98..e8ab9f4 100644 --- a/code/datasets.py +++ b/code/datasets.py @@ -184,7 +184,8 @@ img = img.crop((int(x_min), int(y_min), int(x_max), int(y_max))) # We get the pose in radians - pose = utils.get_ypr_fro # Head pose from AFLW2000 datasetp.pi + pose = utils.get_ypr_from_mat(mat_path) + pitch = pose[0] * 180 / np.pi yaw = pose[1] * 180 / np.pi roll = pose[2] * 180 / np.pi -- Gitblit v1.8.0