Questions tagged [arkit]

Apple ARKit is Augmented Reality SDK introduced in iOS 11.0, which integrates the iOS or visionOS device RGB camera data, Motion Sensor data and LiDAR Scanner data to produce robust AR experiences.

ARKit uses Visual Inertial Odometry (VIO) to accurately track the world around it. VIO fuses RGB camera sensor data at 60 fps with data at 1000 fps. These two inputs allow the device running iOS or visionOS to sense how it moves within a room with a high degree of accuracy, and without any additional calibration. With ARKit app, user is able to create and render 3D scenes using , , , and frameworks.

The latest version of ARKit has the following features in its arsenal: People Occlusion with depth channel semantics, LiDAR Sensor support for high quality Depth channel and better Scene Understanding, live Motion Capture allowing animate a 3D skeleton, simultaneous Front and Rear camera tracking, hand tracking, ability to track up to 3 faces with a TrueDepth camera, collaborative sessions between 6 users, Geo Tracking and many other useful features.

Reference

3311 questions
14
votes
2 answers

Which format file for 3d model SceneKit/ARKit better to use

I read several tutorials how to place 3d objects in SceneKit/ARKit applications and all of them uses .scn format files for the objects. But I found there is no any issues if I use original .dae format and do not convert it to .scn format. I don't…
wm.p1us
  • 2,019
  • 2
  • 27
  • 38
14
votes
2 answers

Get camera field of view in iOS 11 ARKit

I'm using a ARSCNView from ARKit to display live a video feed from the camera on the iPad. I have the ARSCNView object setup exactly as Xcode's Augmented Reality App template. I was wondering if there is a way to get the field of view of the…
harvey2phase
  • 143
  • 1
  • 5
14
votes
1 answer

Can I union multiple transparent SCNShape objects?

I'm adding multiple transparent SCNShape objects to an ARSCNSceneView scene. These shapes are based on user input and should overlap. They are all flat shapes made with UIBezierPath on the same plane Shapes has to be transparent, so the user can…
Avishay Cohen
  • 2,418
  • 1
  • 22
  • 40
14
votes
1 answer

How to delegate ARSession and AVCaptureSession at the same time?

I've seen people running ARKit with ARSCNView, and they're able to fetch said a QR code rectangle in the camera and render something at the position somehow related to the place QR code resided in the space. I thought they did it by delegating…
Cytus Chang
  • 367
  • 2
  • 11
14
votes
1 answer

ARKit Unable to run the session, configuration is not supported on this device

Using ARWorldTrackingSessionConfiguration get and error on iPhone 6 plus Unable to run the session, configuration is not supported on this device What can it be?
Svitlana
  • 2,938
  • 1
  • 29
  • 38
13
votes
1 answer

What's the difference between ARAnchor and AnchorEntity?

I'm currently doing some experiments with RealityKit. I've been looking at some sample code, and I'm a bit confused about the differences between ARAnchor and AnchorEntity, and when to use one over the other. So far I know that: Both are anchors…
eivindml
  • 2,197
  • 7
  • 36
  • 68
13
votes
1 answer

Does ARKit consider Lens Distortion in iPhone and iPad?

ARKit updates many intrinsic (and extrinsic) parameters of the ARCamera from frame to frame. I'd like to know if it also takes Radial Lens Distortion into consideration (like in AVCameraCalibrationData class that ARKit doesn't use), and fix the…
Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
13
votes
3 answers

"Scene is modified within a rendering callback of another scene." How to fix this error?

I am using ARKit image tracking configuration, once an image is detected, a 3D scene would pop up on the image. But when I set two different images to trigger two different scene file, one image always has two different scene files pop up at the…
Tinloy
  • 191
  • 2
  • 7
13
votes
4 answers

ARKIT: Move Object with PanGesture (the right way)

I've been reading plenty of StackOverflow answers on how to move an object by dragging it across the screen. Some use hit tests against .featurePoints some use the gesture translation or just keeping track of the lastPosition of the object. But…
omarojo
  • 1,197
  • 1
  • 13
  • 26
13
votes
2 answers

How can I rotate an SCNNode on the axis the camera is looking down?

I've added a UIRotationGestureRecognizer and want to use it rotate a node that the user has selected. Currently, it rotates around z-axis, like so: private var startingRotation: CGFloat = 0 @objc private func handleRotation(_ rotation:…
Hunter Monk
  • 1,967
  • 1
  • 14
  • 25
13
votes
3 answers

How to improve camera quality in ARKit

I am building an ARKit app where we want to be able to take a photo of the scene. I am finding the image quality of the ARCamera view is not good enough to take photos with on an iPad Pro. Standard camera image: ARCamera image: I have seen an…
Edward Ford
  • 1,631
  • 3
  • 13
  • 25
13
votes
1 answer

How to prevent ARSCNView from rotating during orientation change

I am using ARKit and I want to allow the users to use the app in both portrait and landscape mode. I would like all UI controls to rotate on orientation change except for the ARSCNView. I tried to transform the sceneView in the opposite direction…
Praveen Gowda I V
  • 9,569
  • 4
  • 41
  • 49
13
votes
1 answer

Error in Xamarin.iOS ARKit demo project: “32-bit architectures are not supported when deployment target is 11 or later"

When deploying the ARKit Sample project from https://developer.xamarin.com/samples/monotouch/ios11/ARKitSample/, I get the build error Invalid architecture: ARMv7. 32-bit architectures are not supported when deployment target is 11 or…
Fritz Lim
  • 2,089
  • 2
  • 19
  • 22
13
votes
3 answers

Dragging SCNNode in ARKit Using SceneKit

I have a simple SCNNode in ARKit and I am trying to drag it wherever I moved my finger on the phone. Here is my code. @objc func pan(recognizer :UIGestureRecognizer) { guard let currentFrame = self.sceneView.session.currentFrame else { …
john doe
  • 9,220
  • 23
  • 91
  • 167
12
votes
1 answer

RealityKit – Getting runtime warning when placing a model in ARView

I get the following warning during runtime when I tap to load the model in ARView: Warning (secondary thread): in AppendProperty at line 859 of sdf/path.cpp -- Can only append a property 'preliminary:anchoring:type' to a prim path (/) Warning…
Myoung
  • 161
  • 5