Google is committed to advancing racial equity for Black communities. See how.

GARAugmentedFace Class

GARAugmentedFace Class Reference

Overview

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

Inherits NSObject.

Instance Method Summary

(simd_float4x4) - transformForRegion:
 Transform from camera to to specified GARAugmentedFaceRegionType region. More...
 

Property Summary

GARAugmentedFaceMeshmesh
 3D mesh representation of detected face. More...
 
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. More...
 

Method Detail

- (simd_float4x4) transformForRegion: (GARAugmentedFaceRegionType)  regionType

Transform from camera to to specified GARAugmentedFaceRegionType region.

Property Detail

- (GARAugmentedFaceMesh*) mesh
readnonatomicassign

3D mesh representation of detected face.

- (simd_float4x4) centerTransform
readnonatomicassign

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.