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
1
vote
2 answers

Best way to obtain ARKit or RealityKit camera rotation?

I am writing in Swift and trying to obtain the RealityKit camera's rotation. I've successfully gotten the position using: xsettings.xcam = arView.session.currentFrame?.camera.transform.columns.3.x ?? 0); xsettings.ycam =…
briwil78
  • 11
  • 2
1
vote
1 answer

Why ARGeoTrackingConfiguration is not available everywhere?

I already posted this question on the apple dev forum without any answer, so I try my luck here : The ARkit is a great tool, I have my small app doing things, and it's fun ! but I wanted to try to migrate from ARWorldConfiguration to…
F4Ke
  • 1,631
  • 1
  • 20
  • 49
1
vote
2 answers

RealityKit ARkit : find an anchor (or entity) from raycast - always nil

When I touch the screen I Use the raycast to place a object (entity and anchor) to it's worldTransform Then I try to touch this object to get it's anchor (or it's own entity) I am trying to find previously placed anchor with raycast (or hitTest )…
F4Ke
  • 1,631
  • 1
  • 20
  • 49
1
vote
1 answer

ARKit Scene with tracking images start jumping

Something strange happened, I just created a simple app. My app was can tracking images and I add a SCNPlane over the image. But when my images get some perspective the SCNPlane starts jumping. Look at the video for a better understanding:…
1
vote
0 answers

LiDAR using Unity3D AR Foundation meshing with capture camera texture

I'm working with AR Foundation Unity Meshing concept. I'm able to load the mesh and export to obj format. But I'm unable to load the mesh with real time capture texture. Can any one suggestions or any reference please.
1
vote
1 answer

ARKit – Adding box to anchor?

I wanted to create a simple object (box) and display it at a position, but everything I can find is about using the renderer() method. Is there a simpler way to just use an anchor? And just add the anchor to my SCNBox object? let rect =…
F4Ke
  • 1,631
  • 1
  • 20
  • 49
1
vote
1 answer

ARKit – Detect similar objects but with different colours

Im using Apple ARKit Scanner app to scan objects and then detect those objects. I'm wondering is it possible to scan two identical objects but of different colours and be able to detect the difference. I suspect the scanner generates reference…
J_B_UK
  • 347
  • 5
  • 12
1
vote
0 answers

AR not working properly in my iOS app on iOS 14 and Xcode 12.3 with world tracking performance is being affected by resource constraints

The airplane does not stay at a fixed position and moves around even when I keep my device still. I am using iPhone 7. This is the warning that I get on the console when I run the default template code provided by XCode with the…
1
vote
1 answer

How to change intensity or color of light for physicallyBased lightingModel?

I'm using ARKit and trying to apply a texture to a face anchor, following an Apple example. However, the texture has an extremely bright light applied to it. How can I reduce the intensity or color of the light created by physicallyBased…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1
vote
0 answers

ARKit anchor drift, localization, image anchors

I'm working on an ARKit application, in which I place several anchor around a room, save the world map data to a server, and then restore that data and the anchors on a different device. Obviously, localization and drifting of the anchors is…
Dave L
  • 171
  • 10
1
vote
0 answers

How do I recording screens with ARKit and SceneKit?

I want to record video using ARKit and SceneKit, but I can save footage from ARKit but can't save footage from SceneKit. My code that starts the recording is as follows: @IBAction func startRecording(sender: UIButton) { …
huseyin
  • 63
  • 7
1
vote
0 answers

ARKit reference image loaded at different size than in Assets

I am running the sample project for ARKit and I am trying to add my own image. There is a weird behaviour as the image is loaded at a different size than set in the asset inspector: As can be seen, the image is (almost) an A5 size (14.8 x 19.7…
Vlad Rusu
  • 1,414
  • 12
  • 17
1
vote
0 answers

ARKit – Semi-transparent texture pixels cause clipping in multiply blend mode

I am using the basic ARKit example and if I use two face meshes, one with the wireframe (back) and one with white boxes (front), I get odd result when using material blend mode multiply. As you can see in the image the semi-transparent pixels make…
The Way
  • 594
  • 5
  • 15
1
vote
1 answer

Access to ARKit – iOS App Rejected Guideline 2.5.1

Our iOS app rejected with following reason. Guideline 2.5.1 - Performance - Software Requirements During review, we were prompted to provide consent to access the ARKit. However, we were not able to locate any features in your app that use the…
Milan Kamilya
  • 2,188
  • 1
  • 31
  • 44
1
vote
1 answer

How to add ground shadows by Entities created programmatically in RealityKit?

I am trying to create two types of Entities in my project. Both of them, I create them programmatically by generating a MeshResource and a Material. The first one (named Placement Indicator) has a mesh of Plane and an UnlitMaterial, and I attach a…
1 2 3
99
100