AR FrameSemantics
Configuration frameSemantics
ARWorldTracking personSegmentation people always front
ARWorldTracking personSegmentationWithDepth people with depth
Slide 21
Slide 21 text
SwiftStrike
People Occlusion Λར༻ͨ͠
ARήʔϜ
WWDCձͰৗʹ։࠵͞Εͯ
͓ΓɺΓ্͕͍ͬͯ·͠
ͨɻ
Body Detection
ARۭؒͷਓମΛೝࣝ͠ɺ࠲ඪΛऔಘ
3DόʔνϟϧϞσϧΛਓମͷҐஔʹ
Ԡͯ͡ஔ
2D Body Detection / 3D Body
Detection
Slide 26
Slide 26 text
2D Body Detection
Slide 27
Slide 27 text
3D Body Detection
Slide 28
Slide 28 text
3D Skeleton
93ͷjointʢؔઅʣ
jointʢؔઅʣʹҐஔΛج४ͱͨ͠ࢠ͕ؔ͋Δ
Slide 29
Slide 29 text
3D Skeleton
index 0 : root
index 1 : hip_joint
index 2 : left_upLeg_joint
index 3 : left_leg_joint
......
index 91 : left_eyeLowerLid_joint
index 92 : left_eyeBall_joint
Slide 30
Slide 30 text
3D Skeleton
index 0 : root
index 1 : hip_joint
index 2 : left_upLeg_joint
index 3 : left_leg_joint
......
index 91 : left_eyeLowerLid_joint
index 92 : left_eyeBall_joint
skeleton3D.definition.parentIndices[index]
Slide 31
Slide 31 text
3D Skeleton
index 0 : root
index 1 : hip_joint
index 2 : left_upLeg_joint
index 3 : left_leg_joint
......
index 91 : left_eyeLowerLid_joint
index 92 : left_eyeBall_joint
> parent : root
> parent : hip_joint
> parent : hip_upLeg_joint
hips_joint
root
left_upLeg_joint
left_leg_joint
left_foot_joint
parent
Slide 32
Slide 32 text
3D Skeleton
ਖ਼͍͠Ґஔใ͕͋Δjointͱɺͳ͍joint͕͋Δɻ
ࢦɺඓɺͭ·ઌͳͲखͷҐஔʹԊ͏Α͏
ʹஔ͞Ε͓ͯΓɺඞͣ͠ਖ਼͍͠ҐஔͰͳ
͍ɻ
Slide 33
Slide 33 text
3D Skeleton
Local TransformͱModel Transform
let jointLocalTransforms = skeleton3D.jointLocalTransforms
let jointModelTransforms = skeleton3D.jointModelTransforms
Slide 34
Slide 34 text
localTransform
Slide 35
Slide 35 text
modelTransform
Slide 36
Slide 36 text
Load my own 3D model
ࣗͰ࡞ͬͨ3DϞσϧΛskeltonʹ
͋ΘͤͯϦΞϧλΠϜදࣔ͢Δ͜ͱ
Մೳɻ
ϞσϧϑΥʔϚοτͳͲ͓ͬͯެ
։͞ΕΔΑ͏ɻ
Slide 37
Slide 37 text
AR Configuration Mode
Camera iOS
AROrientationTracking Back Camera iOS 11.0+
ARWorldTracking Back Camera iOS 11.0+
ARFaceTracking Front Camera iOS 11.0+
ARImageTracking Back Camera iOS 12.0+
ARObjectScanning Back Camera iOS 12.0+
ARBodyTracking Back Camera iOS 13.0+
ARPositionTracking Back Camera iOS 13.0+
Slide 38
Slide 38 text
AR FrameSemantics
Configuration frameSemantics
ARBodyTracking - 3D Body / 2D Body
ARWorldTracking, ARImageTracking,
AROrientationTracking
bodyDetection 2D Body
Collaborative AR
ARKit2.0Ͱαϙʔτ͞ΕͨWorldMapͷڞ༗ػೳ͕όʔδϣϯΞοϓ
RealityKitͷ߹ʹɺࣗಈతʹϨϯμϦϯά·Ͱͯ͘͠ΕΔɻ
૬खͷҐஔೝࣝͰ͖Δ
Slide 43
Slide 43 text
No content
Slide 44
Slide 44 text
No content
Slide 45
Slide 45 text
AR Quick Look
Slide 46
Slide 46 text
USDZ
USD : Universal Scene Description
3D Model Format from Pixar
Slide 47
Slide 47 text
AR Quick Look
SafariɺϝϞɺϝʔϧͳͲͰUSDZϑΝΠϧΛ։͘
ͱɺࣗಈతʹΧϝϥө૾Λ༻͍ͨARͱͯ͠දࣔ͞
ΕΔ
ΞϓϦΛ࡞ΒͣʹARମݧΛఏڙͰ͖Δ
iOS12 ~
Slide 48
Slide 48 text
࣮ྫ
NHK
౦ژిྗ ౡୈҰݪࢠྗൃిॴAR
https://www.nhk.or.jp/vr/AR/1fAR/
Slide 49
Slide 49 text
࣮ྫ
NHK
ڪཽAR
ςΟϥϊαϧεɺτϦέϥτϓεɺεϐϊαϧε
https://www.nhk.or.jp/special/dino/ar.html
Slide 50
Slide 50 text
What's new in iOS13 AR Quick Look
λοϓͳͲͷΠϕϯτʹରԠ
ΞχϝʔγϣϯʹରԠ
ϢʔβʔΠϯλϥΫγϣϯΛؚΉ؆୯ͳήʔϜ͕USDZͷΈͰ࡞ΕΔΑ͏
ʹɻ
People OcclusionʹରԠ
Slide 51
Slide 51 text
RealityComposer
Slide 52
Slide 52 text
RealityComposer
new 3D modeling tool for iPhone, iPad and Mac
iOS versionTest FlightͰத (Apple Developer Accountඞਢ)
Slide 53
Slide 53 text
No content
Slide 54
Slide 54 text
No content
Slide 55
Slide 55 text
How to use RealityComposer
Creating 3D Content with Reality Composer
https://developer.apple.com/documentation/realitykit/
creating_3d_content_with_reality_composer
Slide 56
Slide 56 text
and more on ARKit3...
Slide 57
Slide 57 text
Back and Front Camera
Slide 58
Slide 58 text
Implementing with AR
Slide 59
Slide 59 text
AR ࣮࣌ͷࠔ
ޫྔ
ޫྔෆ
֎ͰͷAR࣮ߦ
։ൃ࣌ͷڥͱϢʔβʔ࣮ߦ࣌ͷ 3Dঢ়گ͕ҟͳΔ
Slide 60
Slide 60 text
AR Coaching View
ARKitͰ༻ҙ͞ΕͨɺϢʔβʔʹঢ়گΛද͢ϔϧϓϏϡʔ
Ξχϝʔγϣϯ͖
Check Thermal State
ProcessInfo.themalStateDidChangeNotification Λࢹ
ProcessInfo.ThermalState ͷʹରԠ
Slide 65
Slide 65 text
No content
Slide 66
Slide 66 text
Recap
ARKit3ࠓ·ͰͰ࠷େͷΞοϓσʔτɻ͍Ζ͍ΖͰ͖ΔͷͰɺ͍ͬͯ͡
͍Δ͚ͩͰָ͍͠ɻ
iOS13ͷϩʔϯνͰҰ൪ Apple ͕ push͍ͯ͠Δͷ AR !
ळʹARମݧΛఏڙͰ͖ΔΑ͏ʹͳ͍ͬͯΕɺApple Store Top Feature !
ARViewͰ࣮͠ͳͯ͘USDZϑΝΠϧΛஔ͍ͯ؆୯ʹ࣮͢Δख͋
Γ·͢ɻ
Slide 67
Slide 67 text
Reference
ARKit
https://developer.apple.com/documentation/arkit
AR Quick Look
https://developer.apple.com/augmented-reality/quick-look/
Slide 68
Slide 68 text
Reference
Introducing ARKit 3
https://developer.apple.com/videos/play/wwdc2019/604
Building Collaborative AR Experiences
https://developer.apple.com/videos/play/wwdc2019/610
Building AR Experiences with Reality Composer
https://developer.apple.com/videos/play/wwdc2019/609
Introducing RealityKit and Reality Composer
https://developer.apple.com/videos/play/wwdc2019/603
Slide 69
Slide 69 text
Reference
Working with USD
https://developer.apple.com/videos/play/wwdc2019/602
Building Apps with RealityKit
https://developer.apple.com/videos/play/wwdc2019/605
Advances in AR Quick Look
https://developer.apple.com/videos/play/wwdc2019/612/
Bringing People into AR
https://developer.apple.com/videos/play/wwdc2019/607
Slide 70
Slide 70 text
Reference
Creating Great Apps Using Core ML and ARKit
https://developer.apple.com/videos/play/wwdc2019/228
Designing for Adverse Network and Temperature Conditions
https://developer.apple.com/videos/play/wwdc2019/422/