New Android Face API limitations

你。 提交于 2019-12-04 17:09:21

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)

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

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