TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.72k stars 1.82k forks source link

Gaze tracking does not work anymore #139

Closed mlpo closed 7 years ago

mlpo commented 7 years ago

I pulled from remote repo today, and since the gaze tracking no longer works on example programs (FaceLandmarkVid and FaceLandmarkVidMulti).

Before (commit 7c20913): with

After (master, commit a3e6631): without

I tried to look a bit to identify the cause of this problem, and I noticed the following: at line 144 of FaceLandmarkVid.cpp, face_model.eye_model is equal to 1 in the build that works (commit 7c20913) and equal to 0 in the build that does not work (master). However, I do not know why.

Same computer and same toolchain (gcc 6.3.1, opencv 3.2.0).

somacoder commented 7 years ago

I have been using Feature Extraction and Gaze Estimation is not working there either in the latest build. However, this is after compilation on a somewhat finicky CentOS6 build, so I can't say for sure if it the same problem here, as I haven't identified a root cause yet either.

herozhang commented 7 years ago

I have same problem And I find gazeDirection0.x .y .z always equal to 1 or 0, not float number

TadasBaltrusaitis commented 7 years ago

I have fixed the issue in the new master. It should work now. Let me know if you're still having issues.

-Tadas