vision-camera-face-detector
vision-camera-face-detector copied to clipboard
frameProcessor returns undefined when there are multiple faces
- When there is no face detected
faces
is empty[]
- When there is 1 face
faces
isarray
with one element BUT - When there are multiple faces in visible area,
faces
is becomingundefined
Is this expected behavior or bug?
same here i dont know that is bug or behavior. But some time one face detected still throw undefined. I don't know why
It's still happening on mid 2023 (version 0.1.8). Anyone has an idea?
Perhaps the error caused here https://github.com/rodgomesc/vision-camera-face-detector/blob/master/android/src/main/java/com/visioncamerafacedetector/VisionCameraFaceDetectorPlugin.java#L73 I just added try-catch block and it worked properly