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
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
FACEBREAK@ヒーローズリーグ 2025 予選
1901drama
0
76
なごミュ@SPAJAM2025 第二回予選
1901drama
1
250
ALVAS@enXross HACKATHON
1901drama
0
220
HELP@Qiita Hackathon #1 本選
1901drama
0
460
ツナカン@Qiita Hackathon #1 予選
1901drama
1
1k
AR市場とVPS技術のサービス化@XR Kaigi 2022
1901drama
0
640
ARコンテンツの考え方 - クリエイターでなくても「おもしろい」ARコンテンツを制作したい!
1901drama
0
1.2k
ストア評価「2.4」だったCOCOARアプリを1年で「4.4」になんとかした方法@Cloud CIRCUS Meetup #2
1901drama
0
810
AR事業のマネタイズ -まだ存在しない価値を創造していくには?@XR Kaigi 2021
1901drama
0
2.5k
Other Decks in Programming
See All in Programming
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
150
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
0
170
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
370
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
170
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
310
これからAgentCoreを触る方へトレンドはGatewayです
har1101
5
420
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
410
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
200
Datadog LLM Observabilityで実現する 安全なLLM Usage 管理
3150
0
120
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
270
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.5k
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
170
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
360
The untapped power of vector embeddings
frankvandijk
2
1.8k
The Limits of Empathy - UXLibs8
cassininazir
1
370
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
400
Leo the Paperboy
mayatellez
7
1.9k
Practical Orchestrator
shlominoach
191
11k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Between Models and Reality
mayunak
4
360
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)