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
8
votes
1 answer

ARKit: Placing an SCNText at a particular point in front of the camera

I've managed to get a cube (SCNNode) placed on a surface where the camera is pointed, however I am finding it very difficult to do the simple (?) task of also placing text in the same position. I've created the SCNText and subsequent SCNNode,…
David T
  • 2,724
  • 1
  • 17
  • 27
7
votes
2 answers

Why so many debug error using ARKit and RealityKit?

On my project I simply wrapped a ARView, setup a configuration and run it on my real device, when I start the app Xcode print out the following error debug message. 2021-10-08 17:59:06.476537+0800 RealityKit_Shell[8247:2500396] Metal GPU Frame…
Damiano Miazzi
  • 1,514
  • 1
  • 16
  • 38
7
votes
0 answers

Show depth data with ARKit and MetalKit

I am total beginner in Swift & iOS, and I am trying to: Visualise the depth map on the phone screen, instead of the actual video recording. Save both the RGB and depth data stream. I am currently stuck on the first one. I am using ARKit4 with…
Valeria
  • 1,508
  • 4
  • 20
  • 44
7
votes
0 answers

Using ARKit and LiDAR to scan an object and get dimensions of said object

Im developing a prototype which should be able to scan a real-world object and create a 3D representation of it. It then needs to get spatial data about said object (like the width, height and depth of the object). Currently I've been able to create…
Heinevolder
  • 298
  • 2
  • 5
  • 17
7
votes
1 answer

Is there any way to export Point Cloud data from LiDAR iOS14?

I am new for Metal and ARkit. I started learning about Lidar and scene’s depth data to visualize the shape. Below is the link for the point cloud sample code provided by Apple…
AnilG
  • 101
  • 1
  • 3
7
votes
1 answer

How to hide ModelEntity in RealityKit?

There are hide model in Reality Composer but can't find any docs about hide entity or ModelEntity in RealityKit. Something like this : SCNNode ---- hidden A Boolean value that determines the visibility of the node’s contents. Animatable.
zhou junhua
  • 462
  • 1
  • 4
  • 12
7
votes
1 answer

Is it possible to have ARView and ARSCNView coexist?

I tried creating the two views in a view controller, and running them at the same time, but that doesn't work, the ARView overtakes ARSCNView, even if it's not hooked up to an outlet. I then tried adding one view to the other, and that doesn't work…
Joe
  • 355
  • 1
  • 10
7
votes
1 answer

How to set entity in front of screen with Reality kit?

The new reality kit camera transform appears to be misleading. When I set an entity’s transform to the camera’s, it is not following the front of the screen, instead, it is always near the world origin. There used to be pointOfView in scnview. What…
Illuminator
  • 153
  • 1
  • 6
7
votes
2 answers

Retrieving bone rotations from 3D Skeleton in ARKit 3

I'm trying to get the bone rotations related to their parents, but I end up getting pretty weird angles. I've tried everything, matrix multiplications, offsets, axis swapping, and no luck. guard let bodyAnchor = anchor as? ARBodyAnchor else {…
c4b4d4
  • 964
  • 12
  • 32
7
votes
2 answers

Only able to detect and track up to 4 images at a time with ARKit 3.0

Using the code below I'm only able to detect and track up to 4 images at any one time when using ARKit. ARImageTrackingConfiguration *configuration = [ARImageTrackingConfiguration new]; configuration.trackingImages = [ARReferenceImage…
CodemanDoEl
  • 472
  • 1
  • 4
  • 18
7
votes
0 answers

Loading .mtl file from documents directory with .obj in scenekit for texture

i'm trying to load downloaded 3d objects from documents directory. i've successfully loaded 3d object file and .mtl file in scenekit but images that are named inside .mtl file are not renderd to apply texture on 3d model which are also placed…
Sand'sHell811
  • 358
  • 3
  • 15
7
votes
1 answer

FaceTracking in ARKit – How to display the "lookAtPoint" on the screen

The ARFaceTrackingConfiguration of ARKit places ARFaceAnchor with information about the position and orientation of the face onto the scene. Among others, this anchor has the lookAtPoint property that I'm interested in. I know that this vector is…
phoebus
  • 1,280
  • 1
  • 16
  • 36
7
votes
1 answer

How to make a 3D model from AVDepthData?

I’m interested in the issue of data processing from TrueDepth Camera. It is necessary to obtain the data of a person’s face, build a 3D model of the face and save this model in an .obj file. Since in the 3D model needed presence of the person’s eyes…
K. Orlov
  • 81
  • 1
  • 3
7
votes
2 answers

SceneKit shadow on a transparent SCNFloor()

I have a floor node, on which I need to cast shadow from directional light. This node needs to be transparent (used in AR environment). And this works fine when I use ARKit, but the same setup using SceneKit shows no shadow or reflection. How can I…
Damian Dudycz
  • 2,622
  • 19
  • 38
7
votes
2 answers

How to detect touch and show new SCNPlane using ARKit?

Now I am able to show different SCNPlane, when card detected. After displaying SCNPlanes, the user touches any plane to show new SCNPlane. But right now touch is working properly but new SCNPlane is not showing. Here is the code I've tried: var…
PvDev
  • 791
  • 21
  • 67