New Android Face API limitations

╄→尐↘猪︶ㄣ 提交于 2019-12-06 10:57:56

问题


I have been testing the new Face API realesed for android, and noticed even with "ACCURATE_MODE" enabled, it doesn't detect faces that old FaceDetector API used to detect, Also i would like to know the effect of Bitmap coding "RGB_565" vs "ARGB_888" in producing the results.


回答1:


Update:

The issue was that the face detector is set to only detect faces that are at least 10% by default (as a performance optimization).

The new Google Play Services 8.4 release supports setting this minimum face size lower, enabling smaller faces to be detected. See the setMinFaceSize method here:

https://developers.google.com/android/reference/com/google/android/gms/vision/face/FaceDetector.Builder.html#setMinFaceSize(float)




回答2:


I've seen this same issue on our ObscuraCam[0] project, and are left using both the old and the new API to try and maximize detection.

It seems like the new API is only better in the details it gives you about the face landmarks and the expression classification, and not in the ability to actual detect faces or partial faces.

[0] https://github.com/guardianproject/obscuracam



来源:https://stackoverflow.com/questions/32041256/new-android-face-api-limitations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!