Projecting the ARKit face tracking 3D mesh to 2D image coordinates
问题 I am collecting face mesh 3D vertices using ARKit. I have read: Mapping image onto 3D face mesh and Tracking and Visualizing Faces. I have the following struct: struct CaptureData { var vertices: [SIMD3<Float>] var verticesformatted: String { let verticesDescribed = vertices.map({ "\($0.x):\($0.y):\($0.z)" }).joined(separator: "~") return "<\(verticesDescribed)>" } } I have a Strat button to capture vertices: @IBAction private func startPressed() { captureData = [] // Clear data