Mathieu Bolard

Results 2 comments of Mathieu Bolard

Hi, you may use the `leftPupil` and `rightPupil` of the `VNFaceLandmarks2D` detected. But I strongly recommend using `ARFaceAnchor` `leftEyeTransform` and `rightEyeTransform` properties if you are using a FaceID enabled device.

Here's a sample code you can use. Also you can learn more on how to use the transforms [here](https://developer.apple.com/documentation/arkit/arfaceanchor/2968193-righteyetransform). ``` import UIKit import ARKit class ViewController: UIViewController, ARSCNViewDelegate, ARSessionDelegate {...