Bug in surface view component

I like surface view component for face detection. their is no free extension i found for face detection.

Bug

I am using simple surface view component face detection property. It accurately detecting number of faces in live feed of camera.
Bug i found is that when no face is present it still showing 1 face detected

Expected

It should display 0 face detected when no face is present in camera feed.

Actual Behaviour

It showing 1 face detected when no face is present

Show your Blocks

Android version 4.4 (API 19)

Developers i have one request also. Can you add property of face detection on front camera also. Currently it is only for rear camera and my application of app need front camera face detection.

Thank you so much.

I will look into it.
Sure that you can’t use the front camera for that too?

If you disable “Use Back Camera” then the front camera will be used.

2 Likes

In kodular eagle 1.4.1
After correction of surface view component for face detection. It is now correctly count number of faces in live stream.

Bug found in eagle 1.4.1

After disabled “Use back Camera” It is throwing error. it is not detecting anything from back camera

My demo code is

Any solution sir for above problem

1 Like