-
Notifications
You must be signed in to change notification settings - Fork 71
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
do_learn_shape And do_learn_variation functions #9
Comments
Hi, as mentioned in the original paper of SDM, the mean and variance of shape, which should be learned from training data, is helpful to generating the initial shapes. |
Thanks very much. |
Yes, it may be helpful. In my implementation, I just simply scaled the detected face size into the same as the mean shape before doing regression. Alternatively, people can do pre-processing by resizing all training images of detected faces into the same scale, so that the shape normalization can be ignored. |
Thanks. |
Hi, tntrung. Thanks for your implementation.
Actually, I wonder why we need do_learn_shape and do_learn_variation functions. And after we get ShapeModel and DataVariation, what do we do with it?
Sorry for my silly question.
The text was updated successfully, but these errors were encountered: