Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SwiftでARKit3を使うには
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
drama
December 08, 2019
Programming
960
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SwiftでARKit3を使うには
drama
December 08, 2019
More Decks by drama
See All by drama
MIZARU@SPAJAM2026 第二回予選
1901drama
0
140
FACEBREAK@ヒーローズリーグ 2025 予選
1901drama
0
110
なごミュ@SPAJAM2025 第二回予選
1901drama
1
320
ALVAS@enXross HACKATHON
1901drama
0
260
HELP@Qiita Hackathon #1 本選
1901drama
0
500
ツナカン@Qiita Hackathon #1 予選
1901drama
1
1.1k
AR市場とVPS技術のサービス化@XR Kaigi 2022
1901drama
0
680
ARコンテンツの考え方 - クリエイターでなくても「おもしろい」ARコンテンツを制作したい!
1901drama
0
1.3k
ストア評価「2.4」だったCOCOARアプリを1年で「4.4」になんとかした方法@Cloud CIRCUS Meetup #2
1901drama
0
840
Other Decks in Programming
See All in Programming
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
280
小さなアプリを作って公開するまで
onozaty
0
120
Groovy as a human and AI friendly programming language
paulk
0
180
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
340
Event is what happens
moro
2
3.6k
はじめてのPLATEAU
nokonoko1203
1
540
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
180
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
150
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
780
JIS keyboard support in Omarchy
lef237
0
180
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
720
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
WENDY [Excerpt]
tessaabrams
14
40k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
470
Being A Developer After 40
akosma
PRO
92
590k
How GitHub (no longer) Works
holman
316
150k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
800
Producing Creativity
orderedlist
PRO
348
41k
My Coaching Mixtape
mlcsv
0
380
Un-Boring Meetings
codingconduct
0
490
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300
Transcript
xR Tech Tokyo #18 @ ソフトバンク Drama(@1901drama) Swiftで ARKit3 を
使うには
None
機能 対象 Coaching UI ・環境データ取得用のアニメーションを表示させる A9 以上 (iPhone 6s/SE) People
Occlusion 2D/3D ・ユーザーの身体を、 3Dオブジェクトの手前に表示させる ・ユーザーの身体と 3Dオブジェクトの前後関係を、反映し表示させる A12 Bionic以上 (iPhone xR/xS) Motion Capture 2D/3D ・ユーザーの身体 /関節の位置を画面上の位置座標で取得出来る ・ユーザーの身体 /関節の位置を空間座標で取得出来る A12 Bionic以上 (iPhone xR/xS) Multiple Face Tracking ・3人までの顔の場所と表情を同時追跡する A12 Bionic以上 (iPhone xR/xS) Simultaneous Front and Back Camera ・手前側のカメラと背面側のカメラで同時に ARを利用出来る A12 Bionic以上 (iPhone xR/xS) Collaborative Sessions ・他のユーザーとの AR体験の共有を補助する A9 以上 (iPhone 6s/SE) ARKit3で追加されたメイン機能
Coaching UI People Occlusion 2D/3D Motion Capture 2D/3D
Multiple Face Tracking Simultaneous Front and Back Camera Collaborative Sessions
Swiftで開発するときのメリット・デメリット • iOS固有の機能を複合して組み込み出来る (UIKit, Depth等のセンサー, 認証系...) • Buildが早い • Appleのドキュメントを直接解釈出来る
• iOS全般の知識が必要 • 3Dの理解が難しい • Androidへの移行が困難(開発工数がかかる) • エンジニアが少ない(転職や情報共有が難しい) 今日はこちらの人向け
ARConfiguration
ARWorldTrackingConfiguration ARBodyTrackingConfiguration ARImageTrackingConfiguration AROrientationTrackingConfiguration ARPositionalTrackingConfiguration ARObjectScanningConfiguration ARFaceTrackingConfiguration • Plane Detect
• Human Detect • Motion Capture • Face Detect • Image Detect • Image Tracking • Face tracking • Position Tracking • Object Detect • Object Scan ARKit3で検知するモードと対象 • Orientation Tracking • WorldMap Export/Import • Collaborative Session • Simultaneous Front and Back Camera • People Occlusion
Depth
Depth取得条件に制限がある ②Simultaneous Front and Back Camera + ①RearCameraのDepthで自分を3D化 = ③depthデータを相手に送れば
3Dでコミュニケーションが 出来るのでは?
Depth取得条件に制限がある Simultaneous Front and Back Camera でも、depthは取得出来ない。 (FaceTrackingだけの場合は、従来通り取得出 来る) Appleさんに改善依頼しました!
その他
• Coaching UIは普通のUIView扱いなので、そのままでは表示がズレます。 • People Occlusion 3DとPlane Objectを併用するとまれにバグります。 • Collaborative
Sessionsは、同時5台くらいが限界かもしれません。 • RealityKitの出来ることに制限があり、 SceneKitから移行出来ない など... その他
ARKit 3.0のサンプルコード集 『ARKit-Invader』 ソースコード(GitHub/Qiita) サンプルコードあります!
ご清聴 ありがとう御座いました。 xR Tech Tokyo #18 @ ソフトバンク Drama(@1901drama)