Questions tagged [arkit]

ARKit is Apple Augmented Reality framework introduced in iOS 11.0, which integrates the iOS device RGB camera data and motion sensor data to produce robust Augmented Reality experiences.

0
votes
0answers
2 views

Force open AR Quicklook links through Safari mobile browser

People who have been keeping up with the new ARKit features will know that AR QuickLook is a new feature introduced with ARKit 2.0 that lets you try AR features right inside your browser instead of ...
1
vote
0answers
24 views

ARKit 2.0 – Scanning 3D Object and generating 3D Mesh from it

The iOS 12 application now allows us to create an ARReferenceObject, and using it, can reliably recognize a position and orientation of real-world object. We can also save the finished .arobject file. ...
1
vote
0answers
19 views

ARKit – Virtual Camera has a different position vs iPhone Camera

Today I realised that iPhone's Camera and Virtual SceneKit Camera do not have the same position in World space. Virtual Camera must be slightly behind the iPhone's Camera in order to prohibit a ...
0
votes
0answers
10 views

How to convert normalized points retrived from VNFaceLandmarkRegion2D

I am trying to detect face landmarks using VNDetectFaceLandmarksRequest which gives me array of VNFaceObservation, which provides me normalised points for landmark, but these normalize points are ...
0
votes
0answers
11 views

Having error when trying to detect a scanned object in ARKit. GPU Hang Error

Here is the full prompt: 2018-09-25 17:08:07.534668+0300 FlowerShop[1683:300221] [MC] System group container for `systemgroup`.com.apple.configurationprofiles path is /private/var/containers/Shared/...
0
votes
3answers
30 views

I can't solve “Use of undeclared type 'SphereNode'” in Swift

I am trying to make a simple measurement application using Swift's ARKit. I ran a demo project to find a good example. But I could not use 'SphereNode'. The process of creating the first ...
0
votes
0answers
17 views

How to rotate a model in ARkit using Raycast and touch in unity?

I am trying to drag or move and rotate a model by touching the device. I am placing it by single touch and rotating it by by double touch. I have added a tag named "Region" to the model. Below is the ...
-2
votes
0answers
44 views

Restart Button in Swift

I am trying to make a reset button in swift, I followed exactly the steps of an example, but the code marks me an error. At the time of using the .enumerateChildNodes function it does not complete it ...
1
vote
1answer
37 views

AR Multi User Projectiles (Swift4)

I'm currently sharing an AR world map across a multiplier session successfully, and I am trying to send individual projectile data (position, angular, velocity, type) across the network from both peer ...
-4
votes
0answers
15 views

How to identify the Object of specific shape/dimension using ARKit and Vision Framework? [on hold]

I am looking forward to work on AR App which will identity the objects of specific dimension like Circle/Square/Rectagle using ARKit2 and vision framework. For Example : Only Balls it should Identify ...
0
votes
1answer
35 views

AR Multiplayer: How to share the position of the 3D object, relative to the image target?

I'm trying to implement a very basic ARCore-ARKit multiplayer in Unity. I can use markers to place 3D content over them using Vuforia or ARKit/ARCore image recognition. But how can I store and share ...
0
votes
0answers
14 views

Sceneview Camera position relative to object

I'm working with scenekit and using a sceneview inside of a window. The problem I'm having is that I have a lot of objects some of them has animations, some of them has no animation but they are a bit ...
0
votes
0answers
17 views

MultipeerConnectivity Stream doesn't receive [Swift]

so I am working with ARKit 2.0 and try to stream my players position. So I connect my devices (check), and start the stream(s) with myself as delegate (check). Now here is my delegate func: func ...
0
votes
1answer
25 views

How to add 3d object to reference image when tapping on scnplane?

I am trying to 3d object to reference image when user taps on scnplane. I have touches began to scnplane to add new 3d object. Right now i can able to add 3d object but it's not referred to reference ...
2
votes
0answers
11 views

Blank depth buffer from ARSCNView in DRAW_QUAD pass of SCNTechnique

I'm trying to do depth-testing in a post-processing step of an AR SceneKit demo. I would need the depth map of the rendere ARSCNView for that. It seems impossible to get it using an SCNTechnique. I ...
0
votes
0answers
28 views

ARKit 2.0 Freezing Issue when doing HitTesting

So I am developing an App which displays different virtual objects and I interact with the object, such as changing colours and child nodes. One issue which is only present on ARKit 2.0 is that when ...
0
votes
1answer
42 views

How to extend a line segment in ARKit 2/SceneView

I have two points in space, and want a third point that is an extension of the first two points by some multiplier - extending the line segment. How would I do that in Swift4 - how would I get x2, y2, ...
0
votes
1answer
29 views

How to use SCNTechnique to create a “masked” portal effect in SceneKit / ARKit?

I'm trying to wrap my head around how to use SCNTechnique with Scenekit. The effect I'm trying to create can easily be achieved in Unity by adding a custom shader to two materials, making objects ...
1
vote
1answer
37 views

The AR Session Failed. One or more reference images have an invalid size

Xcode: 10.1 beta Swift: 4 AR kit: 2.0 When starting our AR Session we've been running into: The AR Session failed. Invalid reference image. One or more reference images have an invalid ...
0
votes
0answers
22 views

Replace real world text using ARKit and Vision(?)

I'm trying to build a translator app which would be able to replace foreign text in the real-time, but after exploring possible approaches got a bit cornered. Even though I was able to extract words ...
1
vote
1answer
21 views

How to get the Angle and distance between Camera Position and Image Object Position in ARKit?

Working on AR Application where I need to place the object on ARImageAnchor once the image is tracked and 3d model placed then it should not move along with image anchor it should just follow the ...
-4
votes
0answers
29 views

How to upgrade ARKit version 1.0 to 2.0 in existing iOS Application? [on hold]

Please help me, How to integration ARKit 2.0 in my old existing ARKit 1.0 iOS app? How to update ARKit version 1.0 to 2.0 in existing iOS Aplication.
0
votes
0answers
50 views

How to show uicollection view in ARSCNView in iOS swift

I am trying to implement uicollection view in arscnview and scroll direction horizontal with user interaction. In collection view cell contains product image and name. is it possible to add ...
0
votes
0answers
18 views

Why is ARSCNView.snapshot() output different from ARFrame.capturedImage?

I created a view with the two Image Views side-by-side to compare the two. Left side is from ARFrame.capturedImage. Right side is from ARSCNView.snapshot() You can see that the left side is ...
0
votes
0answers
19 views

How to sort ARKit models alphabetically - Swift

I am trying to get my head around ARKit and augment apples ARKitInteraction example which can be found here. My models load correctly however, the objects aren't listed in alphabetical order. I have ...
0
votes
0answers
26 views

How to convert arobject file into usdz file

I got a arobject file using the ARKit Scanner App(https://developer.apple.com/documentation/arkit/scanning_and_detecting_3d_objects). I want to convert this file into an usdz file because I want to ...
1
vote
1answer
30 views

Unprojecting a screen point to a horizontal plane in ARKit

I'm trying to unproject some point on the screen to a coordinate on an ARPlaneAnchor in world space using ARKit. Essentially I want to draw a marker on the ground plane based on where my camera is ...
-3
votes
0answers
15 views

AR Kit 2 -> Xcode: Thread : EXC_BAD_ACCESS (code = 1, address = 0xfffffff000000)

Im pretty confused about this error. Well, under i will give you code where XCode throws error. Mostly confused is that this exception is thrown when i build sample-example scene from Unity of AR Kit ...
0
votes
0answers
13 views

How to set image match sensibility for image tracking with ARKit 2

I have a few reference images I want to use for image tracking with ARKit 2. However, these images might be slightly different in the real world (because of shadows, graffitis, etc). For example, I ...
0
votes
0answers
5 views

Is there away to use ARKit to scan exterior terrain

I have a piece of property, and I’m looking to accurately map a portion of it in 3d so that is can model over it. I have seen som videos of saved pint cloud data from ARKit but with no further ...
0
votes
0answers
21 views

ARKit and vision framework : Detect position of object in real word

Right now I am developing and jewellery app, and I succeeded to detect hand, using below code and some research. https://www.toptal.com/swift/ios-arkit-tutorial-drawing-in-air-with-fingers I used ...
0
votes
1answer
45 views

ARKIT 2.0 - ARImageTrackingConfiguration

I have an app which detects a few images and do some effects (mostly play a video inside the image) as long as the func renderer is triggered when a Image is detected, is there any func that is ...
0
votes
1answer
33 views

How to add multiple models in a scene and later retrieve it using scene recognition in unity?

Every time I touch the screen the same model appears in screen.If I touch the screen at five different positions the models gets instantiated at 5 touched positions on the screen.It gets saved in the ...
0
votes
1answer
28 views

Placing a SCNNode on a plane and detecting that the node is tapped

I'm working on an app which first detect that there is a vertical plane, and after that, if the user touches the plane I add a SCNNode to the rootNode. After that, I want to detect if the user touches ...
0
votes
0answers
37 views

SceneKit Rendering Callback Error - can't determine scene from hex code

I am receiving the following error when I segue from one view controller that contains an scnview to another view controller that contains an arscnview. The first scene contains an item that will be ...
0
votes
0answers
43 views

How to load 3d model from Autodesk cloud into swift project for ios platform? [closed]

I try to create simple viewer for ios platform. I wanna show my 3d models in real time. For my viewer, I use Apple ARkit2, it app looks just like in this video. https://www.youtube.com/watch?v=...
-1
votes
1answer
27 views

Embedding ar.js on a Xamarin.Forms application [closed]

I was trying out some examples of ARCore and ARKit SDKs for Xamarin. Both frameworks are very powerful and useful for complex applications. I need to develop a simple branding app that, besides all ...
1
vote
1answer
72 views

Why does ARKit app stop working after a few days?

I developed a simple ARKit app in Unity for iOS. It works great, but there is a strange problem: after several days it stops working. So when I click on the app icon on the iPhone, it opens the app ...
0
votes
0answers
24 views

ARKit records the video with a replaykit.Can RPPreviewViewController be customized?

ARKit records the video with a replaykit. Can RPPreviewViewController be customized, change the button, remove the video editing below, can I get the recorded video before saving the album?
-2
votes
0answers
34 views

Modifying ARWorldMap in iOS12

I am needing to edit the values of the points in the ARWorldMap class. I do not need to do this at runtime, if I could find a way to export the values in a editable way that would be all I would need....
0
votes
1answer
22 views

Multiple nodes in .scn model causing iMessage extension to crash

I am working with SceneKit in an iMessage extension and have run into a peculiar little beast of an issue. I am trying to render a custom scn model and rig nodes to a users facial expression using ...
0
votes
1answer
32 views

Get rootNode of node

In an ARKit project, when the user taps the screen, I want to get the rootNode of the element, that the user want to interact with. Gesture & Hit test func screenTapped(_ sender: ...
0
votes
0answers
25 views

Node rotation value is reset when animating

I'm working on an AR project and need to position some 3D models in the scene when a specific image is recognized. I also need the 3d models to rotate indefinitely around their y axis, which I managed ...
0
votes
0answers
23 views

How to hide real world in an ARScene

Hello I want to show only the 3d objects that I add in my ARSCNView and not showing everything else like the room like walls etc. Is there any configuration in ARSCNView that does that? For example ...
0
votes
0answers
14 views

How does the UnityARWorldMap in ARkit 2.0 works?

Hi I was trying the UnityARWorldMap Serialized example.I ran on the Ipad,I placed the cube on a position with a touch and clicked save button.After Closing the app then i clicked load button and ...
5
votes
1answer
76 views

Need clarification of one thing in this AR Multiplayer Tutorial

I'm experimenting with the simple AR multiplayer app, made using this tutorial: https://www.youtube.com/watch?v=n3a-aaSYR8s SourceCode It works! But I'm not sure, why 2 objects which were ...
0
votes
0answers
38 views

Capture human body motion using ARKit and CoreML

I'm new to ARKit and CoreML, I'd like to know if it's possible to utilize these frameworks to track/capture human body movement in real-time and create a virtual figure that imitates how the person ...
0
votes
1answer
41 views

Can we compile a CoreML model on Server?

I am working with CoreML and ARKit for Face recognition. But i don't want to build CoreML model with app. I have make a coreML model with python Turicate. I want this model to be put on server and it ...
0
votes
0answers
19 views

iPhone X TrueDepth sensor - macro image

How can I take a macro photo (using attached third party macro lenses), and get a macro image AND macro depth map? Ex: With iPhone X, I can take a photo and get: Photo Height map if I attach macro ...
1
vote
1answer
40 views

Cannot load underlying module for 'UIKit' error

Xcode cannot load UIKit module. I got this error message: // import UIKit - Cannot load underlying module for 'UIKit' I downloaded this GitHub source project: ARMuseum. My xcode version: Version ...