ARKit - using face recognition while using video

Is there a way to capture video on the front facing camera (ie the selfie camera) on iPhone while using face anchors, left/right eye transforms for AR?

Hello,

Perhaps I'm not understanding the question, but the default for ARFaceTrackingConfiguration is to utilize the front facing camera and deliver face anchors. Could you elaborate on what you are trying to achieve?

Use AVFoundation to encode a video from each ARFrame.capturedImage. You'll need AVAssetWriter, AVAssetWriterInput, AVAssetWriterInputPixelBufferAdaptor.

ARKit - using face recognition while using video
 
 
Q