FaceDetector.detectFaces Method

Module: FaceDetector

Definition

Detects faces in an image and store their info in a DetectedFaceList object.

Note

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 detection process.

Important

Loading a FaceDetector model is required to use this function.

DetectedFaceList detectFaces(Image image)

Parameters

image Image
in Source image to process.

Returns

The list of detected faces.

Exceptions

An error has occurred during Face Library execution.