Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shu223/arkit-sampler

Code examples for ARKit.
https://github.com/shu223/arkit-sampler

arkit coreml ios ios11 metal scenekit swift swift-4

Last synced: 3 days ago
JSON representation

Code examples for ARKit.

Awesome Lists containing this project

README

        

# ARKit-Sampler

[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat
)](https://developer.apple.com/iphone/index.action)
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat
)](https://developer.apple.com/swift)
[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat
)](http://mit-license.org)
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/shu223)

ARKit-Sampler is a collection of ARKit samples.

## How to build

Open `ARKit-Sampler.xcworkspace` with Xcode and build it.

It can **NOT** run on **Simulator**.

## 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.

![](README_resources/interaction2.gif)

### 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.

![](README_resources/arkitmetal.gif)

### Metal + ARKit (SCNProgram)

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

### Simple Face Tracking

Simplest Face-Based AR implementation.

![](README_resources/face.gif)

### Irregularly-Shaped Plane Detection

**ARKit 1.5**

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

![](README_resources/irregular.gif)

### usdz

A sample to show how to use `.usdz` files with ARKit.

## Author

**Shuichi Tsutsumi**

Freelance iOS programmer from Japan.


Support via PayPal

- PAST WORKS: [My Profile Summary](https://medium.com/@shu223/my-profile-summary-f14bfc1e7099#.vdh0i7clr)
- PROFILES: [LinkedIn](https://www.linkedin.com/in/shuichi-tsutsumi-525b755b/)
- BLOGS: [English](https://medium.com/@shu223/) / [Japanese](http://d.hatena.ne.jp/shu223/)
- CONTACTS: [Twitter](https://twitter.com/shu223) / [Facebook](https://www.facebook.com/shuichi.tsutsumi)

## Special Thanks

The icon is designed by [Okazu](https://www.facebook.com/pashimo)