TrackedFace.create Method

Module: TrackedFace

Definition

Creates a detected face.

static TrackedFace 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 tracked face.

Exceptions

An error has occurred during Face Library execution.