I'm currently using android.hardware.camera2
module to detect a face.
I revise my own code withe the reference
https://github.com/googlesamples/android-Camera2Basic
and
Android camera2 face recognition
However, I had the same problem as the link above. In my case, when I run the code with Galaxy S4, android 5.0 it seems to work properly (Face detection works properly) but when I run the same code with Galaxy S6, android 5.1, faces are not recognized as above link said.
How can I solve this problem? or, Is there a simple tutorial concerning face detection with camera2?