From 34a9bfedcbb917dac813abaa0260172b8764ddf1 Mon Sep 17 00:00:00 2001
From: Nataniel Ruiz <nruiz9@gatech.edu>
Date: 星期三, 28 二月 2018 01:32:22 +0800
Subject: [PATCH] Fixed typo.
---
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