Skip to content

kushal211/ARKit-Sampler

 
 

Repository files navigation

ARKit-Sampler

Platform Language License Twitter

ARKit-Sampler is a collection of ARKit samples.

How to build

  1. Download Inceptionv3.mlmodel from here, then put it into the mlmodels folder.
  2. Open ARKit-Sampler.xcworkspace with Xcode 9 and build it.

It can NOT run on Simulator. (Because it uses Metal.)

Contents

3 lines AR

A simple AR with 3 lines code.

Plane Detection

A sample to show how simply ARKit can detect planes.

Virtual Object

A sample to show how to add a virtual object to a detected plane.

AR Interaction

Interactions with virtual objects or detected plane anchors.

AR Measure

Measuring lengths in the real space.

AR Drawing

Drawing in the real space.

Core ML + ARKit",

AR Tagging to detected objects using Core ML.

Metal + ARKit

Rendering with Metal.

Metal + ARKit (SCNProgram)

Rendering the virtual node's material with Metal shader using SCNProgram.

Simple Face Tracking

Simplest Face-Based AR implementation.

Vertical Plane Detection

ARKit 1.5

A sample to show how to detect vertical planes.

Irregularly-Shaped Plane Detection

ARKit 1.5

A sample to show how to detect irregularly shaped surfaces using ARSCNPlaneGeometry and ARPlaneGeometry.

Coming soon...

  • Audio + ARKit
  • Core Location / MapKit + ARKit
  • etc...

Author

Shuichi Tsutsumi

iOS programmer from Japan.

Special Thanks

The icon is designed by Okazu

About

Code examples for ARKit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 95.4%
  • Metal 4.5%
  • Ruby 0.1%