Open decioschmitt opened 1 year ago
This is intended behaviour. From the docs:
Element | Notes |
---|---|
det_prob_threshold | minimum required confidence that a recognized face is actually a face. Value is between 0.0 and 1.0. |
If you need faces above a certain similarity, that can be handled in your own code.
Describe the bug det_prod threshold is comparing the probability field instead of the similarity field.
A clear and concise description of what the bug is.
To Reproduce add two subjects, and try recognition with a completely different user with filter det_prob_threshold activated.
Steps to reproduce the behavior: Log application when i try request.
Notice in the log above that the filter was applied to 0.7 and the API returns a user with "similarity": 0.09532, carrying out some tests I confirmed that the filter is comparing the probability field instead of the similarity field.