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
Detection Confidence Needed. #262
Comments
You can use the value of the max as a network confidence measure. While this is not perfect it can be used to detect wrong points fairly accurate. To achieve this you can modify this function: face-alignment/face_alignment/utils.py Line 185 in 2bcfcc6
|
Thank you for your reply! I have already implemented the method. I wonder if there is any plan to add this as a formal feature? |
There were a few similar questions in the past, so probably its worth adding it. Feel free to make a pull request. |
I will try to make a pull request in recent days! |
@1adrianb Very Sorry that these days I am quite occupied. Before making a PR, should we discuss the API first? How about this:
What do you think? |
@MagicFrogSJTU No worries!
|
My concern is:
What do you think? |
I know very little about API designing, so maybe you are right. Just give me a final result and I will implement it! |
Can we go with a separate array please? Could you also describe please both the new flag and the returned value in the function doc description? Thanks! |
One last thing,
|
It seems over complicated. Cause we will have a lot of combinations. What about always keeping returning three objects |
Agree, let's go then with 2 cases only: if either |
What is the scale of confidence score? I got something like 1.7108647, 1.718052 , 1.6957333, 1.6364386, 1.5783452, 1.6006193. Is it not in (0,1)? |
The current code outputs grid coordinates as detection results without detection confidence. Therefore, the model often generates confusing detections for some edge-case images.
It is easy to get the face detection confidence, while it is hard to get the alignment confidence. I go through the code but it is not an easy job for new comers. Is there any approach?
The text was updated successfully, but these errors were encountered: