Reputation: 4052
Working with the Apple ARKit, I am trying to access the ARSCNDebugOptions.showBoundingBoxes
to lay box over that box and interact with it.
How can I manage this problem? I know that there is the Apple Scanning and detecting of objects but in my opinion the real bounding box debug option is more precise.
Upvotes: 0
Views: 329
Reputation: 58113
Using
SCNDebugOption.showBoundingBoxes
type property you get a visual representation of bounding boxes around any debugging objects: geometry, feature points, skeletons, world axes, etc.
public static var showBoundingBoxes: SCNDebugOptions { get }
.
sceneView.debugOptions = [.showBoundingBoxes]
At the moment ARKit 2.0 API
doesn't allow you to get any info about these bounding boxes i.e. their position and orientation, as well as interact with them.
Upvotes: 1