[FREE]👦 FaceDetection Extension: OpenCV based face detection with face marking

FaceDetection: Detect faces in real time

:feather:Features

  1. FaceDetection via camera
  2. Rectangle drawing around Faces

:potted_plant:Use Cases

  1. Detect faces via camera
  2. Trigger events when face is detected
  3. Use phone as a security camera
  4. Detect number of faces

:movie_camera: Demo video

demo

:jigsaw: Blocks

Events:

:yellow_heart: OnFacesDetected

Triggered when faces are detected with the count of faces

Parameter Type
faceCount number

:yellow_heart: OnCameraError

Triggered when camera error occurs

Parameter Type
errorMessage text

:yellow_heart: OnError

Triggered when View encounters an error

Parameter Type
errorCode number
description text
failingUrl text

Methods:

:purple_heart: Initialize

Initialize the face detection system

Parameter Type
container component

:purple_heart: StopDetection

Stop face detection and release resources

Sample blocks used for the above demo

image

Download the extension

I’m a 16 year old high school student, I like to create and maintain many extensions. I research a lot daily to bring something new to App Inventor :smiley:
While my primary goal and perspective on App Inventor is not to earn money, it really helps and motivates me a lot if you could spare some donations. :hugs:

:jigsaw: io.opencv.facedetection (44.7 KB)

Building something awesome!
Sarthak Gupta @techxsarthak

5 Likes

Thanks @72erdelyi for sponsoring. Your support helps me to make awesome extensions like this.
You can also support me above

1 Like

I tried your extension, then an error appeared as shown in the image

1 Like

Can you create an extension that can detect specific objects in real-time, such as birds and chickens?

1 Like

Compile it into an apk first


Tools, Extensions and Newsletters powered by @techxsarthak
:eyes:Browse my extensions here. :loudspeaker: Subscribe to my MIT AI2 newsletter for free here.

I have also compiled it into an APK, but the error still persists.

1 Like

I am using Android 11

1 Like

Contacting you via dm are you using any other extensions