Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOS 11 ARKit
Search
田奕焰
August 12, 2017
Programming
0
47
iOS 11 ARKit
田奕焰
August 12, 2017
Tweet
Share
Other Decks in Programming
See All in Programming
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
920
Netty Chicago Java User Group 2024-04-17
sullis
0
170
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
使ってみよう Azure AI Document Intelligence
kosmosebi
2
300
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
200
Fragment Composition of GraphQL
quramy
5
870
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
エンターテイメント業界で利用されるAWS
demuyan
0
210
"config" ってなんだ? / What is "config"?
okashoi
0
240
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
Git Lint
bkuhlmann
4
750
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
32
12k
Debugging Ruby Performance
tmm1
70
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Music & Morning Musume
bryan
41
5.6k
Web development in the modern age
philhawksworth
202
10k
Automating Front-end Workflow
addyosmani
1356
200k
Atom: Resistance is Futile
akmur
259
25k
Why Our Code Smells
bkeepers
PRO
331
56k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
How STYLIGHT went responsive
nonsquared
92
4.8k
Thoughts on Productivity
jonyablonski
58
3.8k
Fireside Chat
paigeccino
21
2.6k
Transcript
iOS11 ARKit
AR简介 • Augmented Reality(增强现实) • 让虚拟世界与现实世界场景进⾏行行结合与互动的技 术 • 1990年年被提出
AR主要特征 • 虚实结合 • 实时交互 • 三维匹配
AR分类 • 基于计算机视觉(Vision-Based AR) 移动设备 • 基于光学(Optical-Based AR) Google Glass,
HoloLens • 基于投影(Projection-Based AR) MIT - SixSense
• Marker-Based • Marker-Less
Marker-Based Augmented Reality Tutorial No. 1: Marker-Based Primitive Object Augmentation
https://www.youtube.com/ watch?v=PbEDkDGB-9w
Marker-Less https://www.youtube.com/watch?v=qFGx9QcE5Gk
Mobile AR • OpenCV + OpenGL ES • ARKit
• iOS 11+ • 处理理器器 A9+ (iPhone 6s+) • Xcode
9+ ARKit
• World tracking • Visual–Inertial Odometry 追踪
• 平⾯面检测 • 点击检测 • 环境光 场景识别
SceneKit SpriteKit Metal
Application Processing ARKit Rendering SceneKit SpriteKit Metal AVFoundation CoreMotion Capturing
• 视觉惯性⾥里里程计(VIO) • 30fps • 6D (x, y, z) (p,
y, r) Visual–Inertial Odometry
• pitch: 围绕x轴, 俯仰⻆角 • yaw: 围绕y轴, 偏航⻆角 • roll:
围绕z轴, 翻滚⻆角 Visual–Inertial Odometry
Inertial Measurement Unit • 惯性测量量装置(IMU) • 加速计 & 陀螺仪 •
1000 次/秒
VIO + IMU • IMU 基于时间, 精度受时间影响 • VIO 基于距离,
精度受距离影响 • IMU 弥补特征低 • VIO 弥补设备静⽌止
ARKit vs OpenCV • 包体积 • ⽆无缝衔接 UIKit, SceneKit, SpriteKit
• Objective-C / Swift Style API • High-level API 优势 劣势 • 运⾏行行环境需求⾼高
WWDC 2017 ARKit Demo ARKit Demo App: Placing Objects in
Augmented Reality https://developer.apple.com/ sample-code/wwdc/2017/ PlacingObjects.zip
TyBattleCity https://github.com/luckytianyiyan/TyBattleCity
– Linus Torvalds “Talk is cheap. Show me the code.”
拓拓展 • ARToolKit https://github.com/artoolkit
Reference • WWDC 2017 ARKit Video • Why is ARKit
better than the alternatives? • GitHub Repo: Mastering OpenCV with Practical Computer Vision Projects • Apple Developer ARKit • 从计算机视觉⻆角度,我们深⼊入解读了了增强现实 (AR)的过去、现在和未来