Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling error in landmarks.py #23

Open
HarryWindsor opened this issue Jun 21, 2021 · 1 comment
Open

Scaling error in landmarks.py #23

HarryWindsor opened this issue Jun 21, 2021 · 1 comment

Comments

@HarryWindsor
Copy link

I am trying to run them demo. Camera Calibration and fine-tuning worked, but the gaze prediction on the screen do not work because the detected face landmarks are scaled in a wired way.

I only ran landmarks.py and can confirm that the error is also present there, see example blow. Did anybody else experience these issues?

Thank you for your help.

image

image

image

@parallelepipede
Copy link

I had the same problem. I modified the landmarks.py file to no longer use the HRNET model for face detection. I plugged instead the mediapipe face mesh and with some corrections (transform the 468 points of mediapipe for the 68 of dlib among others), it works and it is more fluid on my computer without gpu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants