FaceTracker.detectFaces Method

Module: FaceTracker

Definition

Detects faces in an image and update their info in a TrackedFaceList object.

The algorithm searches for faces in the range [16px;512px]. If the image is too large to fit this range, one must resize it before the tracking process.

In a realtime process, one must use this function to keep the face IDs stable in time.

Important

Loading a FaceDetector is required to use this function.

void detectFaces(Image image, TrackedFaceList trackedFaceList)

Parameters

image Image
in Source image to process.

trackedFaceList TrackedFaceList
in List of tracked faces.

Exceptions

An error has occurred during Face Library execution.