TrackedFace.create Method¶
Module: TrackedFace
Definition¶
Creates a detected face.
@staticmethod
create(bounds: Rectangle, detection_score: int, id: int, landmarks: PointList) -> TrackedFace
Parameters
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
static TrackedFace create(Rectangle bounds, int detectionScore, int id, PointList landmarks)
Parameters
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
public static TrackedFace Create(Rectangle bounds, int detectionScore, int id, PointList landmarks)
Parameters
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
public static TrackedFace create(Rectangle bounds, int detectionScore, int id, PointList landmarks) throws FaceException
Parameters
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
public static func create(bounds: Rectangle, detectionScore: Int32, id: Int32, landmarks: PointList) throws -> TrackedFace
Parameters
Returns
The newly created tracked face.
Exceptions
An error has occurred during Face Library execution.
int id3TrackedFace_Create (
ID3_TRACKED_FACE hTrackedFace,
const id3FaceRectangle * sBounds,
int detectionScore,
int id,
ID3_FACE_POINT_LIST hLandmarks)
Parameters
hTrackedFaceID3_TRACKED_FACEin Handle to the TrackedFace object.sBoundsconst id3FaceRectangle *in Bounds of the detected face.detectionScoreintin Confidence score of the detected face.idintin ID of the detected face.hLandmarksID3_FACE_POINT_LISTin Landmarks (eyes, nose and mouth corners) of the detected face.
Returns