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

Place image from Gallery on a Wall using ARKit

I have a list of images coming from server and stored in gallery. I want to pick any image and place on live wall using ARKit and want to convert images into 3d images tp perform operation like zooming , moving image etc. Can anybody please guide…
Nitisha Sharma
  • 263
  • 3
  • 12
7
votes
1 answer

Scene is modified when rendering callback

I had the following code which produced the error: func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) { if anchor is ARImageAnchor { let phoneScene = SCNScene(named: "Phone_01.scn")! let…
john doe
  • 9,220
  • 23
  • 91
  • 167
7
votes
1 answer

Find angle of head tilt from ARFaceAnchor in an ARFaceTracking session

I am trying to find the angle of the head with regards to the y axis in a ARFaceAnchor. My starting example is Apple's sample code: creating face-based AR experiences. Given this image, I am basically searching for the angle of the green marker…
atineoSE
  • 3,597
  • 4
  • 27
  • 31
7
votes
3 answers

ARKit - How to set manipulator position with center of the node in SceneKit editor

I have downloaded two different 3D models from Sketchfab. i imported both model in ARKit 3D object placing. While placing the 3D models the node is not properly aligning with the manipulator for one of the models.. i have attached screenshot. …
Raj
  • 485
  • 9
  • 18
7
votes
1 answer

How to scale SCNNodes to fit within a bounding box

I'm downloading Collada DAE scenes and rendering them in SceneKit, but having trouble getting the downloaded node to "fit" within its parent node. I mainly care about scaling it's y-height to fit in the parent node. Here's the code I'm using: //…
Sean Thielen
  • 1,396
  • 1
  • 11
  • 15
7
votes
1 answer

ARKit - How to load .scn and texture file from server URL

I try to load dynamically .scn and texture files from server URL in ARKit application. I have achieved loading .scn file from web url this way.. But after running I am not seeing any textures on device. I get following error message.…
Raj
  • 485
  • 9
  • 18
7
votes
2 answers

How can I set text orientation in ARKit?

I am creating a simple app with ARKit in which I add some text to the scene to the tapped position: @objc func tapped(sender: UITapGestureRecognizer){ let sceneView = sender.view as! ARSCNView let tapLocation = sender.location(in:…
Tom
  • 3,899
  • 22
  • 78
  • 137
7
votes
1 answer

ARKit and Vuforia - marker recognition

I'm working on an iOS app, I need to recognize a marker (most likely it will be QR code) and place some 3D content over it using ARKit. I was thinking about a combination of Vuforia and ARKit. Is it possible to use Vuforia only to recognize the…
Rumata
  • 1,027
  • 3
  • 16
  • 47
7
votes
3 answers

Does ARKit support iPhone SE?

From https://developer.apple.com/arkit/: ARKit runs on the Apple A9, A10, and A11 processors. From https://www.apple.com/iphone-se/specs/: A9 chip with 64‑bit architecture. But from the iOS Device Compatibility Reference: This says that iPhone…
Warif Akhand Rishi
  • 23,920
  • 8
  • 80
  • 107
7
votes
2 answers

Using SCNFloor in ARKIt

In almost all tutorials of ARKit, it seems that we always use ARPlane for floor. let planeGeometry = SCNPlane(width:CGFloat(planeAnchor.extent.x), height:CGFloat(planeAnchor.extent.z)) let planeNode =…
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
7
votes
3 answers

Cannot convert value of type 'SCNMatrix4' to expected argument type 'matrix_float4x4' (aka 'simd_float4x4')

I got this error while using iOS 11 ARKit(Scenekit - Xcode 9 beta) when i try to set the simdPosition of virtual object. I need to know if it is possible to convert SCNMatrix4 to matrix_float4x4 in swift. If so how to convert it.
Vidhya Sri
  • 1,773
  • 1
  • 17
  • 46
7
votes
2 answers

ARKit – What do the different columns in Transform Matrix represent?

An ARAnchor's 4x4 matrix has 4 columns. The fourth column of the matrix contains 3 translate values for x, y, and z coordinates. I was wondering what the other 3 columns represent?
Ashutosh Pandey
  • 127
  • 1
  • 4
7
votes
2 answers

ARKit placing objct on a plane

I'm learning from a tutorial online on ARKit to place an object on a plane. boxNode.position = SCNVector3(hitResult.worldTransform.columns.3.x,hitResult.worldTransform.columns.3.y + Float(boxGeometry.height/2),…
slimboy
  • 1,633
  • 2
  • 22
  • 45
7
votes
2 answers

Can ARKit detect specific surfaces as planes?

Using iOS 11 and iOS 12 and ARKit, we are currently able to detect planes on horizontal surfaces, and we may also visualize that plane on the surface. I am wondering if we can declare, through some sort of image file, specific surfaces in which we…
Michael Ramos
  • 5,523
  • 8
  • 36
  • 51
7
votes
1 answer

How to create a video from ARSKView (or SKView) frames, including micro audio (ios 11)

I am playing with ARKit, and I would like to create a video from the ARSKView frames. I tried to use ReplayKit, but the behaviour is not what I expect : - I don't want to record the whole screen. - I don't want the user to be prompted we are…