if you want to carry out simple live detection, you need to get the information of shaking your head through the camera. You want to achieve this through yawAngle in AVMetadataFaceObject. Now you find that if the face is already in the lens when [session...