Slightly better gaze estimation for off axis images.
This commit is contained in:
parent
d0cf22969c
commit
ee48946818
4 changed files with 3 additions and 3 deletions
|
@ -717,7 +717,7 @@ namespace OpenFaceOffline
|
|||
output_features_file.Write("frame, timestamp, confidence, success");
|
||||
|
||||
if (output_gaze)
|
||||
output_features_file.Write(", gaze_0_x, gaze_0_y, gaze_0_z, gaze_1_x, gaze_1_y, gaze_2_z");
|
||||
output_features_file.Write(", gaze_0_x, gaze_0_y, gaze_0_z, gaze_1_x, gaze_1_y, gaze_1_z");
|
||||
|
||||
if (output_pose)
|
||||
output_features_file.Write(", pose_Tx, pose_Ty, pose_Tz, pose_Rx, pose_Ry, pose_Rz");
|
||||
|
|
|
@ -141,7 +141,7 @@ void FaceAnalysis::EstimateGaze(const LandmarkDetector::CLNF& clnf_model, cv::Po
|
|||
|
||||
cv::Mat faceLdmks3d = clnf_model.GetShape(fx, fy, cx, cy);
|
||||
faceLdmks3d = faceLdmks3d.t();
|
||||
cv::Mat offset = (cv::Mat_<double>(3, 1) << 0, -3.50, 0);
|
||||
cv::Mat offset = (cv::Mat_<double>(3, 1) << 0, -3.5, 7.0);
|
||||
int eyeIdx = 1;
|
||||
if (left_eye)
|
||||
{
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
Mean error, median error
|
||||
9.428, 8.730
|
||||
9.428, 8.611
|
||||
|
|
Loading…
Reference in a new issue