ARKit-Sampler

Code examples for ARKit.

Github星跟踪图

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.

usdz

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

Author

Shuichi Tsutsumi

Freelance iOS programmer from Japan.

Special Thanks

The icon is designed by Okazu

主要指标

概览
名称与所有者shu223/ARKit-Sampler
主编程语言Swift
编程语言Swift (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2017-09-19 21:30:50
推送于2023-11-04 14:09:53
最后一次提交2023-11-04 23:09:49
发布数0
用户参与
星数1.6k
关注者数48
派生数172
提交数77
已启用问题?
问题数9
打开的问题数5
拉请求数3
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?