jes*_*sir 3 arkit swift4.2 arfacegeometry
目前我正在获取左眼和右眼点,如何在ios中使用ARFaceTracking或swift 4中的其他框架获取其他部分点。
请反馈以上问题?
您可以使用 ARFaceGeometry 顶点。它\xe2\x80\x99是一个神奇的数字。ARFaceGeometry 有 1220 个顶点,索引 9 位于鼻子上。这有效。
\n\nlet vertices = [anchor.geometry.vertices[9]] // nose\n\n// You can use Features Indexes with array\nlet features = ["nose", "leftEye", "rightEye", "mouth", "hat"]\nlet featureIndices = [[9], [1064], [42], [24, 25], [20]]\nRun Code Online (Sandbox Code Playgroud)\n\n这里的 features 是您为每个要素指定的节点名称的数组,featureIndices 是ARFaceGeometry中与这些要素对应的顶点索引。使用ARFaceAnchor属性。
\n