Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
natanielruiz authored Feb 27, 2018
1 parent 80aa5f6 commit 34a9bfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def __getitem__(self, index):
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

Expand Down

0 comments on commit 34a9bfe

Please sign in to comment.