-
Notifications
You must be signed in to change notification settings - Fork 323
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
shape_68.dat missing #23
Comments
Thanks @ctippur. I switched from using Dlib facial landmark model to a TensorFlow model which I am pretty sure you can find in the repo. However, if you want to continue to use Dlib you can download the model from here: https://github.com/davisking/dlib-models/blob/master/shape_predictor_68_face_landmarks.dat.bz2. Hope that solves the issue. |
Thanks @vardanagarwal. I am looking for the most accurate method to determine the location points. If I understand right, TF model is a better way to go? |
Yeah, based on my testing I felt is was better. You can have a look at the results here: https://towardsdatascience.com/robust-facial-landmarks-for-occluded-angled-faces-925e465cbf2e?sk=505eb1101576227f4c38474092dd4c22 |
Vardan, Thank you. Thats quite impressive. I seem to be getting a lot of
|
That's to do with the threshold. If your threshold is very small then no contour will be detected leading to that error. You can add an if condition checking that length of cnts>0. I am trying to figure out to automate the thresholding part then this won't be an issue. Can you elaborate what you mean by precision here and why you feel it might lose frames if it is tried to be improved. |
You are right. The threshold for the most part seem to be 0. To increase the threshold, I am looking at some variatiobs below. Let me know if we can collaborate.
|
Yeah sure! As mentioned earlier it is currently controlled by a trackbar which means it requires manual work so I am definitely up for it. |
Quick benchmarking
|
It would be better to close this issue and open up another one having the apt name so that anyone else looking to contribute can find it. |
Perfect. Closing this to reopen another issue. |
Nice work. I was trying to run the sample code. I seem to be missing shape_68.dat file. I see that you have tried to add it but I dont see the file.
The text was updated successfully, but these errors were encountered: