Apple AR Kit功能适用于整个会话

时间:2017-12-09 21:32:12

标签: ios swift feature-extraction arkit

我了解如何为单个ARFrame(ARFrame.rawFeaturePoints)提取要素点。无论如何,是否提取在会话中检测到的所有要素点?这是我必须自己聚集的东西吗?如果是这样,我应该如何处理点匹配?

1 个答案:

答案 0 :(得分:0)

找到捕捉特征点的方法。

  1. 您可以实施 ARSCNViewDelegate ,当AR找到平面时,您将获得回调。您可以捕获所有要素点。

    select isbn, title, max(checked_out_date) from books join transactions on books.isbn = transactions.isbn group by isbn, title having max(checked_out_date) <= dateadd(year, 5, current_date)

  2. 2.您可以实施 SCNSceneRendererDelegate ,实施 func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) { if let planeAnchor = anchor as? ARPlaneAnchor { let cloudPoints = sceneView.session.currentFrame?.rawFeaturePoints } }