Post

Replies

Boosts

Views

Activity

ARKit plane detection stops working for iOS 16.0.2
We are using ARWorldTrackingConfiguration for our app to detect horizontal and vertical planes. With iOS 16.0.2 update, iPhone 11 device lost its ability to detect planes. It used to work for iOS 15 versions. Anyone knows what could be the problem here? I also submitted feedback to Apple via Feedback Assistant. We also tried running Apple's sample project “Tracking and Visualizing Planes” https://developer.apple.com/documentation/arkit/content_anchors/tracking_and_visualizing_planes but it also can't detect with iPhone 11s, but other devices work. let configuration = ARWorldTrackingConfiguration() configuration.planeDetection = [.horizontal, .vertical] sceneView.session.run(configuration)
5
2
1.4k
Oct ’22
ARSessionDelegate didUpdate image orientation
In ARSessionDelegate's didUpdate function two ipad pro 3. gen 12.9 inch differs in arframe image orientation.func session(_ session: ARSession, didUpdate frame: ARFrame) I get the pixelbuffer in this way and create UIImage.let pixelBuffer = frame.capturedImagelet image = UIImage(pixelBuffer: pixelBuffer)We have two ipads both running iOS 13.2.3.The models are like below:iPad (NTEL2B)iPad (MTEL2LL)The MTEL2LL version image is 180 degree rotated. What could be cause?I use this function to create UIImage from CVPixelBufferpublic convenience init?(pixelBuffer: CVPixelBuffer) { if let cgImage = CGImage.create(pixelBuffer: pixelBuffer) { self.init(cgImage: cgImage) } else { return nil } }
1
0
1.1k
Dec ’19