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
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
3D mesh representation of detected face.
Public methods
transformForRegion:
- (simd_float4x4)transformForRegion:
Transform from camera to to specified GARAugmentedFaceRegionType
region.