Closed olekukonko closed 2 years ago
I have adjusted the default parameters because by playing a little bit with the existing flags I realized that the new settings offers better performance and also better results, but be aware that like any other face detection library is not 100% accurate, so it might produce false detection results, that's why you need to adjust the supported flags like -scale
, -shift
and -iou
. These are the most important parameters which are responsible for the final detection score, so in many or almost all of the cases is enough to adjust these values.
So please make a new pull with the updated files. Soon I will make a new release also in case you are installed the project via Homebrew or if you downloaded the binary files.
Thanks for the quick response, Will pull the update and have a detailed test.
I see
shift = 0.1 -> 0.15
scale = 1.1 -> 1.15
iou = 0.2 -> 0.15
I will also play with some of these settings and revert
Issue
The image attached passes facial detection.
API related bug
The images should not be detected as a face![detection](https://user-images.githubusercontent.com/2615393/138160252-e6da0ac9-3af8-4e4e-bbde-9fbca92d0628.png)
Expected behaviour
No Face Detected![face](https://user-images.githubusercontent.com/2615393/138160447-23bce9d2-ae07-4c95-b25d-0803382109e5.jpeg)
Other Information
Observation
This image also passes default android face detection but I belive
pigo
should be better