disable face tracking

This commit is contained in:
Georg Hagen
2025-01-23 16:55:28 +01:00
parent a28b0fe442
commit 4832c3f6f2

View File

@@ -86,7 +86,6 @@ namespace OpenVulkano::AR::ArKit
{ {
arConfig.sceneReconstruction = ARSceneReconstructionMesh; arConfig.sceneReconstruction = ARSceneReconstructionMesh;
} }
arConfig.userFaceTrackingEnabled = true;
arConfig.planeDetection = config.planeDetection ? (ARPlaneDetectionVertical | ARPlaneDetectionHorizontal) : ARPlaneDetectionNone; arConfig.planeDetection = config.planeDetection ? (ARPlaneDetectionVertical | ARPlaneDetectionHorizontal) : ARPlaneDetectionNone;
arConfig.autoFocusEnabled = config.autoFocus; arConfig.autoFocusEnabled = config.autoFocus;
m_arConfig = arConfig; m_arConfig = arConfig;