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
drama
December 08, 2019
Programming
940
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
110
FACEBREAK@ヒーローズリーグ 2025 予選
1901drama
0
94
なごミュ@SPAJAM2025 第二回予選
1901drama
1
290
ALVAS@enXross HACKATHON
1901drama
0
240
HELP@Qiita Hackathon #1 本選
1901drama
0
480
ツナカン@Qiita Hackathon #1 予選
1901drama
1
1.1k
AR市場とVPS技術のサービス化@XR Kaigi 2022
1901drama
0
660
ARコンテンツの考え方 - クリエイターでなくても「おもしろい」ARコンテンツを制作したい!
1901drama
0
1.3k
ストア評価「2.4」だったCOCOARアプリを1年で「4.4」になんとかした方法@Cloud CIRCUS Meetup #2
1901drama
0
830
Other Decks in Programming
See All in Programming
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
150
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
670
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
590
Deep dive into the select statement (GopherCon UK)
jespino
0
180
Intent as Code
shoppingjaws
6
970
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
540
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
300
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
290
Family mrubyの進捗
kishima
1
110
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
220
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.8k
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
160
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
25k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
520
For a Future-Friendly Web
brad_frost
183
10k
ラッコキーワード サービス紹介資料
rakko
1
4.8M
AI: The stuff that nobody shows you
jnunemaker
PRO
9
990
How to make the Groovebox
asonas
2
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Side Projects
sachag
456
43k
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)