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

Detected face landmarks are rounded to integer #5

Closed
ghost opened this issue Sep 22, 2017 · 5 comments
Closed

Detected face landmarks are rounded to integer #5

ghost opened this issue Sep 22, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 22, 2017

Is it the correct behavior?

@ghost
Copy link
Author

ghost commented Sep 22, 2017

I just traced the code, looks like the landmarks are maximum of 64x64 heatmap.
So the detected landmarks should be on the heatmap grid.

@ghost ghost closed this as completed Sep 22, 2017
@1adrianb
Copy link
Owner

@LexSong Yes, you are right. You can probably keep them real but this will not matter to much in practice.

@ghost
Copy link
Author

ghost commented Sep 22, 2017

@1adrianb I just tried the landmark detector on a video, and the "rounding" landmarks are jumping around between video frames. The movement is not smooth. I will add a smooth filter to solve my issue. Thanks for your help

@1adrianb
Copy link
Owner

@LexSong Yes, smoothing should defenitly help. Is the "jump" significant? In the video that I generated the next frame was initialised with the previous prediction (the bbox of the prediction) which made the results more stable than using a detector. I don't know however if it we be useful also in your case.
Also, if time is not an issue you can run it twice on the same frame (first using the detected bbox and then by running it using the newly obtained bbox).

@ghost
Copy link
Author

ghost commented Sep 22, 2017

@1adrianb Thanks, I'll do more experiments

This issue was closed.
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

1 participant