DetectedFace.create Method¶
Module: DetectedFace
Definition¶
Creates a detected face.
static DetectedFace create(Rectangle bounds, int detectionScore, int id, PointList landmarks)
Parameters
bounds Rectanglein Bounds of the detected face.
detectionScore intin Confidence score of the detected face.
id intin ID of the detected face.
landmarks PointListin 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.