Post

Replies

Boosts

Views

Activity

Is it possible to customize a RoomPlan RoomCaptureSession?
I'm hoping to utilize RoomPlan's auto detection of Doors, Windows, Openings, and Objects in my existing ARKit application. I've successfully hooked up a RoomCaptureSession to my ARSCNView in place of the preexisting ARSession (for iOS 16+ users):      if #available(iOS 16, *) {       let session = RoomCaptureSession()       let config = RoomCaptureSession.Configuration()       arView.session = session.arSession       session.run(configuration: config)       self.roomPlanSession = session     } else {       arConfig = ARWorldTrackingConfiguration()      arConfig.planeDetection = [.horizontal, .vertical]       arView.session.run(arConfig, options: .resetTracking)     } I'd like to enable planeDetection on the RoomCaptureSession, but I can't find anyway to do so. Does anyone know if this is possible? Or is the RoomCaptureSession not configurable in that way? Also, the RoomCaptureSession seems to automatically abort/stop if the camera & sensors are covered for a few seconds. For instance, if you set the device on a table (back side down) for ~15 seconds then the session is ended. Is there anyway to force it to keep the session alive in this case?
3
0
1.5k
Dec ’22