Face

The Face class exposes details of a tracked face.

Properties

Property

Description

cameraTransform

Specifies a TransformSignal object describing the face transformation relative to camera coordinate system.

Note: cameraTransform.applyTo(point), where point is a point in face local coordinate system, returns a point in camera local coordinate system.

chin

Specifies a Chin object describing the attributes of the chin.

forehead

Specifies a Forehead object describing the attributes of the forehead.

id

Specifies a StringSignal containing the unique ID assigned to a face. An ID is generated every time a face is detected and tracked in the scene.

When a face is lost and then tracked again, a new ID is generated even if it is the same person.

isTracked

A boolSignal indicating whether the face was tracked this frame.

If the face was not tracked, other properties represent the most recent tracked frame.

leftCheek

Specifies a Cheek object describing the attributes of the left cheek.

leftEye

Specifies an Eye object describing the attributes of the left eye.

leftEyebrow

Specifies an Eyebrow object describing the attributes of the left eyebrow.

mouth

Specifies a Mouth object describing the attributes of the mouth.

nose

Specifies a Nose object describing the attributes of the nose.

rightCheek

Specifies a Cheek object describing the attributes of the right cheek.

rightEye

Specifies an Eye object describing the attributes of the right eye.

rightEyebrow

Specifies an Eyebrow object describing the attributes of the right eyebrow.

Methods

Method

Description

point

Returns a PointSignal object representing a point in the face local coordinate system that corresponds to a UV point on the facial mesh texture map.

See Also: Face.cameraTransform to convert the point to the coordinate system of the camera.

Last updated