Stay organized with collections Save and categorize content based on your preferences.

GARAugmentedFace

Object that holds face mesh and transform data for detected face.

Summary

Inheritance

Inherits from: NSObject

Properties

centerTransform
simd_float4x4
The transform from camera to the center of the face, defined to have the origin located behind the nose and between the two cheek bones.
mesh
3D mesh representation of detected face.

Public methods

transformForRegion:
simd_float4x4
Transform from camera to to specified GARAugmentedFaceRegionType region.

Properties

centerTransform

@property(nonatomic, readonly) simd_float4x4 centerTransform;

The transform from camera to the center of the face, defined to have the origin located behind the nose and between the two cheek bones.

+Z is forward out of the nose, +Y is upwards, and +X is towards the face's left. The units are in meters.

mesh

@property(nonatomic, readonly) GARAugmentedFaceMesh *mesh;

3D mesh representation of detected face.

Public methods

transformForRegion:

- (simd_float4x4)transformForRegion:

Transform from camera to to specified GARAugmentedFaceRegionType region.