我了解如何为单个ARFrame(ARFrame.rawFeaturePoints)提取要素点。无论如何,是否提取在会话中检测到的所有要素点?这是我必须自己聚集的东西吗?如果是这样,我应该如何处理点匹配?
答案 0 :(得分:0)
找到捕捉特征点的方法。
您可以实施 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.您可以实施 SCNSceneRendererDelegate ,实施
func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) {
if let planeAnchor = anchor as? ARPlaneAnchor {
let cloudPoints = sceneView.session.currentFrame?.rawFeaturePoints
}
}
。