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
87
votes
2 answers

iOS revert camera projection

I'm trying to estimate my device position related to a QR code in space. I'm using ARKit and the Vision framework, both introduced in iOS11, but the answer to this question probably doesn't depend on them. With the Vision framework, I'm able to get…
Guig
  • 9,891
  • 7
  • 64
  • 126
73
votes
4 answers

ARKit vs. ARCore vs. Vuforia vs. D'Fusion Mobile vs. Layar SDK

I would be interested to know, where are the advantages and disadvantages of each vision-based mobile Augmented Reality Frameworks? For what should be decide in which case? Would you choose Vuforia in any case, because it is free and without…
Oli
  • 1,407
  • 3
  • 30
  • 47
71
votes
1 answer

RealityKit vs SceneKit vs Metal – High-Quality Rendering

I'm creating an iOS app that I intend to display realistic/high-quality renders within AR. Whilst experimenting with these 3 options, I'm still unsure which of them I should go forward with developing my app's framework around: SceneKit, RealityKit…
rmLuma
  • 829
  • 1
  • 6
  • 4
51
votes
7 answers

How to detect vertical planes in ARKit?

How is it possible to implement a vertical plane detection (i.e. for walls)? let configuration = ARWorldTrackingSessionConfiguration() configuration.planeDetection = .horizontal //TODO
Jan F.
  • 1,681
  • 2
  • 15
  • 27
43
votes
2 answers

Unable to activate constraint with anchors

So, I'm trying to create a sceneView programatically class ViewController: UIViewController, ARSCNViewDelegate { var sceneView: ARSCNView = ARSCNView() let configuration = ARWorldTrackingConfiguration() override func viewDidLoad()…
utiq
  • 1,342
  • 2
  • 17
  • 33
39
votes
2 answers

What's the difference between using ARAnchor to insert a node and directly insert a node?

In ARKit, I have found 2 ways of inserting a node after the hitTest Insert an ARAnchor then create the node in renderer(_ renderer: SCNSceneRenderer, nodeFor anchor: ARAnchor) -> SCNNode? let anchor = ARAnchor(transform:hit.worldTransform) …
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
37
votes
3 answers

ARKit – Get current position of ARCamera in a scene

I'm in the process of learning both ARKit and Scenekit concurrently, and it's been a bit of a challenge. With a ARWorldTrackingSessionConfiguration session created, I was wondering if anyone knew of a way to get the position of the user's 'camera'…
Ryan Pfister
  • 3,176
  • 4
  • 24
  • 26
37
votes
4 answers

How to create realistic .scn files?

Looking at the apple sample AR app, there are many realistic looking objects (cup, candle, etc). However working with the scene kit editor on Xcode it is clear that this only allows you to create basic objects. My question is, what software/file…
14wml
  • 4,048
  • 11
  • 49
  • 97
33
votes
1 answer

ARKit SKVideoNode Playing on Render

Main Problem: I am adding this section AFTER to clarify the problem. -- I can PAUSE my video (I do not want it playing on a loop). When my node comes into sight, my node plays my video, even if it is on pause. If my video has finished playing, and…
impression7vx
  • 1,728
  • 1
  • 20
  • 50
32
votes
5 answers

ARKit hide objects behind walls

How can I use the horizontal and vertical planes tracked by ARKit to hide objects behind walls/ behind real objects? Currently the 3D added objects can be seen through walls when you leave a room and/ or in front of objects that they should be…
Steve
  • 423
  • 1
  • 5
  • 4
29
votes
2 answers

LiDAR and RealityKit – Capture a Real World Texture for a Scanned Model

Task I would like to capture a real-world texture and apply it to a reconstructed mesh produced with a help of LiDAR scanner. I suppose that Projection-View-Model matrices should be used for that. A texture must be made from fixed Point-of-View, for…
Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
27
votes
3 answers

Are there any limitations in Vuforia compared to ARCore and ARKit?

I am a beginner in the field of augmented reality, working on applications that create plans of buildings (floor plan, room plan, etc with accurate measurements) using a smartphone. So I am researching about the best AR SDK which can be used for…
Kitwradr
  • 1,986
  • 3
  • 18
  • 32
26
votes
1 answer

What is ARAnchor exactly?

I'm trying to understand and use ARKit. But there is one thing that I cannot fully understand. Apple said about ARAnchor: A real-world position and orientation that can be used for placing objects in an AR scene. But that's not enough. So my…
PrepareFor
  • 2,448
  • 6
  • 22
  • 36
26
votes
2 answers

How to keep ARKit SCNNode in place

Hey I'm trying to figure out. How to keep a simple node in place. As I walk around it in ARKit Code: func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) { if let planeAnchor = anchor as? ARPlaneAnchor { …
Hunter
  • 1,321
  • 4
  • 18
  • 34
26
votes
5 answers

ARKit with multiple users

What is the best way, if any, to use Apple's new ARKit with multiple users/devices? It seems that each devices gets its own scene understanding individually. My best guess so far is to use raw features points positions and try to match them across…
Guig
  • 9,891
  • 7
  • 64
  • 126
1
2 3
99 100