Bug fix with reporting of pose orientation in world coordinates (reported axis angle instead of Euler)

This commit is contained in:
Tadas Baltrusaitis 2017-10-22 10:55:57 +01:00
parent 1f356eb8ae
commit 28fd07fe74
2 changed files with 4 additions and 4 deletions

View file

@ -137,7 +137,7 @@ cv::Vec6d LandmarkDetector::GetCorrectedPoseWorld(const CLNF& clnf_model, double
cv::Vec3d euler = LandmarkDetector::AxisAngle2Euler(vec_rot);
return cv::Vec6d(vec_trans[0], vec_trans[1], vec_trans[2], vec_rot[0], vec_rot[1], vec_rot[2]);
return cv::Vec6d(vec_trans[0], vec_trans[1], vec_trans[2], euler[0], euler[1], euler[2]);
}
else
{

View file

@ -1,4 +1,4 @@
Dataset and model, pitch, yaw, roll, mean, median
biwi error: 7.092, 5.170, 4.657, 5.640, 2.607
bu error: 2.762, 3.328, 2.249, 2.780, 1.963
ict error: 3.529, 3.873, 2.688, 3.363, 1.931
biwi error: 7.779, 6.302, 4.440, 6.174, 2.779
bu error: 2.739, 3.348, 2.458, 2.848, 1.975
ict error: 3.501, 3.988, 3.298, 3.596, 1.968