DetectedFace.create Method

Module: DetectedFace

Definition

Creates a detected face.

static DetectedFace create(Rectangle bounds, int detectionScore, int id, PointList landmarks)

Parameters

bounds Rectangle
in Bounds of the detected face.

detectionScore int
in Confidence score of the detected face.

id int
in ID of the detected face.

landmarks PointList
in Landmarks (eyes, nose and mouth corners) of the detected face.

Returns

The newly created detected face.

Exceptions

An error has occurred during Face Library execution.