问题描述
我想用 Google ARCore 来获取我手机的外参和内参矩阵。到目前为止,我只看到有关获取内在参数矩阵的文档,但没有看到有关获取外在参数矩阵的任何信息。是否可以使用 Google ARCore 做到这一点?
解决方法
我想我会用我不久前找到的答案来更新这个:
Frame frame = arSceneView.getArFrame();
Camera camera = frame.getCamera();
CameraIntrinsics intrinsics = camera.getImageIntrinsics();
Camera coreCamera = frame.getCamera();
Pose camPose = coreCamera.getPose();