[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

1 Like