Is it possible to use ARSession to display both the front camera and the back camera at the same time?
I wanted to show the rear camera while tracking my face, but that seems difficult.
So I also looked into how to use AVCaptureSession and ARSession at the same time, but this also seemed difficult.
https://developer.apple.com/forums/thread/81971
Post
Replies
Boosts
Views
Activity
How do I record and play back movements with ARkit?As you can see in the video below.https://www.youtube.com/watch?v=7NnSuAprFnYI thought about using ReplayKit, but ReplayKit records the entire screen, so you can't just record the character's movements.I know that I can do motion capture with the code below.I would appreciate it if you could tell me how I can change this code to record and play it.https://developer.apple.com/documentation/arkit/capturing_body_motion_in_3d
With the 2019 update, iOS 13.1 can be used on iPhone7.iOS 13.1 includes FaceID functionality, but iPhone7 does not seem to have FaceID.In fact, can I use FaceID on iPhone7?If so, please tell me how to use it.
Now, I am making an application for a newer model than iPhone8.However, if I publish the app to the AppStore, users will be able to purchase the app on iPhone7 and so on.How can I limit which devices users can purchase?I am creating an app using FaceID.The app is compatible with iOS 13.1 or higher, but does not work on iPhone7.
I am using ARKit3.I tried DL the sample code from the following URL.Tracking and Visualizing Faceshttps://developer.apple.com/documentation/arkit/tracking_and_visualizing_facesI tried to get a face rotation value by inserting a print statement into TransformVisualization.swift as shown in the code below.func renderer(_ renderer: SCNSceneRenderer, didUpdate node: SCNNode, for anchor: ARAnchor) { guard #available(iOS 12.0, *), let faceAnchor = anchor as? ARFaceAnchor else { return } print(faceAnchor.transform.columns.2) rightEyeNode.simdTransform = faceAnchor.rightEyeTransform leftEyeNode.simdTransform = faceAnchor.leftEyeTransform }faceanchor.transform can get 4x4 matrix.Doesn't faceanchor.transform.columns.2 contain head rotation values?When I actually moved my head and checked the printed numbers, the values of rotation.x(faceAnchor.transform.columns.2.x) and rotation.y(faceAnchor.transform.columns.2.y) were obtained correctly.However, the initial value of rotation.z(faceAnchor.transform.columns.2.z) is strange, and hardly changes even if I move my head.How can I get the rotation value around the Z axis?