All Projects → montaguegabe → arkit-depth-renderer

montaguegabe / arkit-depth-renderer

Licence: other
Displays the depth values received by the front-facing camera.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to arkit-depth-renderer

TheLaughingMan-ARKit
Use ARKit to become the infamous Laughing Man from Ghost in the Shell
Stars: ✭ 26 (-45.83%)
Mutual labels:  augmented-reality, arkit, arkit-demo
ARKitXamarinDemo
ARKit + UrhoSharp + Xamarin
Stars: ✭ 42 (-12.5%)
Mutual labels:  augmented-reality, arkit
RealityKit-CardFlip
An example app using Apple's new RealityKit framework
Stars: ✭ 86 (+79.17%)
Mutual labels:  augmented-reality, arkit
PlacenoteSDK-Unity
Placenote SDK and sample app for Unity
Stars: ✭ 78 (+62.5%)
Mutual labels:  augmented-reality, arkit
unity-arkit-charts-demo
iOS 11 ARKit Charts Demo
Stars: ✭ 13 (-72.92%)
Mutual labels:  augmented-reality, arkit
ARKitImageRecognition
ARKit 1.5 - Image Recognition Demo
Stars: ✭ 34 (-29.17%)
Mutual labels:  arkit, arkit-demo
iOS-ARKit
Basic Concepts and Projects using ARKit on iOS.
Stars: ✭ 18 (-62.5%)
Mutual labels:  augmented-reality, arkit
Pulp-Fiction-ARKit
An experiment using Volume to reconstruct Pulp Fiction's dance scene in Augmented Reality
Stars: ✭ 46 (-4.17%)
Mutual labels:  augmented-reality, arkit
ARKit-Persistence-Demo
ARKit 2.0 Persistence Demo
Stars: ✭ 15 (-68.75%)
Mutual labels:  augmented-reality, arkit
cARd
Flip your card with ARKit
Stars: ✭ 22 (-54.17%)
Mutual labels:  augmented-reality, arkit
obj2usdz
🦖 obj2usdz, convert .OBJ files to .USDZ on iOS
Stars: ✭ 56 (+16.67%)
Mutual labels:  augmented-reality, arkit
Unity-ARKit-Plugin
Modified plugin source and Add custom ARKit projects implement on Unity
Stars: ✭ 83 (+72.92%)
Mutual labels:  augmented-reality, arkit
SceneKit-PortalMask
Clean class to create a portal in SceneKit for use in ARKit.
Stars: ✭ 60 (+25%)
Mutual labels:  augmented-reality, arkit
SketchAR
SketchUp model into ARKit. Use SketchUp home remodel and Apple's ARKit (beta) for augmented reality. Goal: import a model (in this case, a remodel) to overlay onto existing real world that you can walk around and 'experience' and compare.
Stars: ✭ 41 (-14.58%)
Mutual labels:  augmented-reality, arkit
ARKit-FocusNode
FocusSquare class taken straight from Apple's ARKit examples and packed up for anyone to use with ease.
Stars: ✭ 50 (+4.17%)
Mutual labels:  augmented-reality, arkit
Arkit Web
An experimental iOS app for rapidly prototyping ARKit experiences with WebGL.
Stars: ✭ 153 (+218.75%)
Mutual labels:  augmented-reality, arkit
React Native Arkit
React Native binding for iOS ARKit
Stars: ✭ 1,664 (+3366.67%)
Mutual labels:  augmented-reality, arkit
Nextlevel
NextLevel was initally a weekend project that has now grown into a open community of camera platform enthusists. The software provides foundational components for managing media recording, camera interface customization, gestural interaction customization, and image streaming on iOS. The same capabilities can also be found in apps such as Snapchat, Instagram, and Vine.
Stars: ✭ 1,940 (+3941.67%)
Mutual labels:  augmented-reality, arkit
ARKitHorizontalPlaneDemo
ARKit demo for horizontal planes detection
Stars: ✭ 15 (-68.75%)
Mutual labels:  arkit, arkit-demo
uARKit
No description or website provided.
Stars: ✭ 15 (-68.75%)
Mutual labels:  augmented-reality, arkit

arkit-depth-renderer

Displays the depth values received by the front-facing camera. The depth values are applied to a heat map and multiplied with the camera's color image. The resulting image is then used as the background for the augmented reality scenekit scene.

Screenshot of example

This example builds upon the official Creating Face-Based AR Experiences demo and is free to use. The original demo code is here.

Overview

  • See additions to ViewController.swift
  • Depth frames can be accessed by any object that conforms to ARSessionDelegate using the session(_ session: ARSession, didUpdate frame: ARFrame) method.
  • To align SceneKit rendering with the depth image, we use frame.displayTransform to get a matrix that is used to properly align the projection.
  • The raw frame data can be fed into Core Image for manipulation, for example with CIImage(cvImageBuffer: depthBuffer)
  • Once in Core Image, a temperature gradient can be applied, and the color image can be multiplied in using filters (see Core Image docs).

Depth frames are not received as quickly as color frames are. As a result, the camera feedback is not as fast as a photo preview would normally be. I haven't been able to find a way to manipulate the camera configuration to increase the rate at which the depth images are received.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].