-
Notifications
You must be signed in to change notification settings - Fork 189
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
How to calculate the mean-face ? #1
Comments
Hi, The mean face can be calculated in a few different ways - for example, one can align the training landmark coordinates using Procrustes (center them, scale, rotate...). But for this case, it's actually sufficient to just calculate the mean of the landmarks of a few hundred images, and you'll have a pretty good mean face. If you look at examples/landmark_detection.cpp, you can just use |
Thank you for your answer!I used cv::mean to calculate the mean of landmarks,but the result is not so satisfied!I found the data in the mean_ibug_lfpw_68.txt is already normalized,could you please describe the detailed steps in your code? |
Hi, Patrik Huber,I solved my problems using Procrustes analysis.Thank you for your suggestions! 发自我的 iPad
|
Hi, I'm surprised your result was not satisfying - did you use enough (a few hundred) images, as I suggested? I will put the code of our full landmark detection online soon, so all these steps will be retraceable. I'm glad you could solve your issue! |
Hi, I just run your program with data in the project(5 images and its pts file), then I put these in command line:./landmark_detection -d path-to-traindataset -m path-to-meanfile -f path-to-harrcascade...but I have waited for two hours , and no results output! I want to know how many times the train-step needed? Thanks for your reply! |
Hi Xiao-Hu, If you additionally compile with Let me know if you have any further problems. PS: Next time, open a new issue, instead of replying in a closed issue - it will get done much faster :-) |
Hi patrikhuber,could you please release the code of calculating the "mean_ibug_lfpw_68.txt"?The result is exciting! I'm just a beginner in this area.
The text was updated successfully, but these errors were encountered: