-
Notifications
You must be signed in to change notification settings - Fork 20
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
face landmark detection without dlib #16
Comments
Hi @anguoyang , thanks for your interest! Yes. STAR is a facial landmark detector, which is a downstream task of face detection. |
thank you so much for the clarification, if dlib is just for face detection to get bbox, then it is fine:) I just worried if it was for extracting landmarks or other additional information before using STAR. |
@ZhenglinZhou sorry for asking again,I found that in your demo code, the shape predictor also be used to get some values, like scale, center_w, center_h... , I don't know what does it mean, especially, why used 200 and 1.05 to get the scale? could I calculate the scale without dlib/sp?
|
Hi @anguoyang, feel free to leave a comment! The To calculate the For other face detector, I suggest training a new STAR to make sure the preprocess is aligned. |
Hi @ZhenglinZhou , thank you fo the clarification, If I cropped and saved the face ROI with rectangle of [detection in dets], the result image seems normal(although still different with other detectors): and if I replaced with other detectors, the landmarks are incorrect due to the wrong scale, is there possibility to use other detectors, like retinaface to get bbox, to get the correct landmarks without re-training? |
Hi @anguoyang, I get it! You could try to replace the If it does not work, you might be considering to retrain the STAR to make sure the preprocess is aligned. |
Hi @ZhenglinZhou , I already tried with other detector:), yes it doesn't work, the output is incorrect, I didn't use sp to get x1,x2,y1,y2, as I don't want to use dlib, I just used my bbox to calculate the scale/center directly. the landmarks/mesh shrinked into a very small size. |
Hi @anguoyang. I think STAR might be sensitive to the preprocess. If the preprocess is not aligned, the performance will be hurt. You might need to retrain the STAR with your own face detector. |
Hi @ZhenglinZhou , thank you for the contribution, I found that the demo.py used dlib for landmark detection, just wonder if I could do the landmark detection without dlib, is it possible to get the landmark with STAR only?
The text was updated successfully, but these errors were encountered: