It looks like a new face detection element was built into the Camera stack (maybe oversignt?) And can be found in Camera.Face - It seems you start with Camera.startFaceDetection () after setting the listener
I did not do more than pondering the API docs, so I donβt know if this is all that is needed, but this should help you get started in the right direction.
source share