FaceDetection on Preview Camera2 o Play services


#1

Hi everybody,

anybody can detect faces in android lollipop with camera2 o play services.

I can do it with a picture in raw profile but I need detect faces on preview from my mobile camera.

Thanks in advance


#2

hey @charly1990, can you give some more detail about your project?


#3

Yes, im using the next project like a base. https://github.com/googlesamples/android-Camera2Basic/tree/master/Application/src/main/java/com/example/android/camera2basic

But i cannot detct faces in the preview camera. I dont wanna take a photo. I just wanna detect face while i see my android camera and focus a person.

Thanks in advance