-
Notifications
You must be signed in to change notification settings - Fork 651
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
Training params #17
Comments
Up |
Sorry for delayed reply. 62=40+10+12, which consists of 40-d shape param, 10-d expression param with 12-d pose param (3x4 matrix form) successively. |
Thank you @cleardusk !
|
Sorry for my mistake, the dimension expression param is exactly 29. The f scale factor is one of the fitting params, depending on the input image. If the reconstructed 3d face is right, the f scale factor should be right too. |
Great! Thank you again! |
@cleardusk for pose param, do I have to convert to rotation matrix and join the result to the translation array in order to obtain a 3x4 final matrix (consequently the 12-d pose param)? |
I recommend using the matrix form, and normalize them with mean and std. |
@cleardusk @julioalvess @joaootavio93 well, I'm still confused, I just reshape the 12-d pose param to 3x4 matrix form, then decomposite it to scale factor, rotation matrix and translation. Use the Rotation matrix to calculate pitch,yaw and roll, did I do something wrong? |
May I ask the 12-d pose param is 3x4 camera matrix? The paper is said that 6-d pose parameters [f, pitch, yaw, roll, t2dx, t2dy]. |
same as @darchonyzx |
@cnaaq You could refer the main.py and the python files it imports, and you will know how to use it. But as the owner @cleardusk puts it the dlib face detecter may not be useful for the large pose face as 90 angle. |
@cnaaq the former 12 param of output is the pose param, the last column is the offset ,the former 3x3 is the rotation. |
@darchonyzx Dlib has another version of detector trained by CNN, but I had no chance to validate it. face_recognition project has related code and details. While I recommend using published detector framework based on CNN like MTCNN, SSH or your private detector for large pose face. |
@cnaaq darchonyzx is right, |
@darchonyzx @cleardusk |
|
How can I get the 12-d pose param? Pose param is 6-d in the paper? @cleardusk |
How to convert the pose parameters (seven dimensions) of the 300W-LP data set into the parameters of 12 dimensions in your code? Could you please teach me how to achieve it? |
Have you solved it yet? |
Hi, I was wondering, is there any connection between it and the Pose_Para (7-dimensional parameter) in the 300W-LP dataset? |
Hello, have you found the solution to this problem? |
Can you describe the parameters format? I noticed that the param_all_norm.pkl file contains 62 extracted parameters of each image from you dataset. By the FaceProfiling code (http://www.cbsr.ia.ac.cn/users/xiangyuzhu/projects/HPEN/main.htm) I generated a dataset containing my own profiles, but I didn't understand how to create the pkl file using FaceProfiling output variables.
The text was updated successfully, but these errors were encountered: