Is there a good tutorial for implementing an augmented reality iPhone application? [closed]

I doubt exactly such a thing exists, but what you need to do is look at the location and camera frameworks for the iPhone, and go from there. Basically, you will create a UIImagePickerController (the Camera class) and overlay information on the view, via a custom .cameraOverlayView (which is a property of UIImagePickerController in 3.0). … Read more

Adding 3D object to ARGeoAnchor

At first you have to check if ARGeoTrackingConfiguration is supported on your device. Requirements: You need a device with A12+ chip and cellular (GPS) support. import ARKit @main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { if !ARGeoTrackingConfiguration.isSupported { let sb = UIStoryboard(name: “Main”, … Read more

What is the real benefit of using Raycast in ARKit and RealityKit?

Simple Ray-Casting, the same way as Hit-Testing, helps to locate a 3D point on a real-world surface by projecting an imaginary ray from a screen 2D point onto a detected plane. In Apple documentation (2019) there was the following definition of a raycasting: Ray-casting is the preferred method for finding positions on surfaces in the … Read more

Projecting the ARKit face tracking 3D mesh to 2D image coordinates

Maybe you can use the projectPoint function of the SCNSceneRenderer. extension ARFaceAnchor{ // struct to store the 3d vertex and the 2d projection point struct VerticesAndProjection { var vertex: SIMD3<Float> var projected: CGPoint } // return a struct with vertices and projection func verticeAndProjection(to view: ARSCNView) -> [VerticesAndProjection]{ let points = geometry.vertices.compactMap({ (vertex) -> VerticesAndProjection? … Read more

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

Update: As of iOS 11.3 (aka “ARKit 1.5”), there is a difference between adding an ARAnchor to the session (and then associating SceneKit content with it through ARSCNViewDelegate callbacks) and just placing content in SceneKit space. When you add an anchor to the session, you’re telling ARKit that a certain point in world space is … Read more

Using Android Studio with Vuforia [closed]

Read our Getting Started Guide for instructions on setting up the Java SDK, Android SDK and NDK: https://developer.vuforia.com/resources/dev-guide/getting-started-android-native-sdk Make sure you have installed the latest version available of Android Studio from: http://developer.android.com/sdk/index.html Use the Android SDK Manager (from within Android Studio) to get the latest Android SDK and Android Platform and Build tools Launch Android … Read more