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
AR Face Detection
Search
Tachibana Kaoru
October 25, 2017
2
3.5k
AR Face Detection
Tachibana Kaoru
October 25, 2017
Tweet
Share
More Decks by Tachibana Kaoru
See All by Tachibana Kaoru
GeoLocationAnchor and MKTileOverlay
toyship
0
280
Custom Group Activities
toyship
3
1.3k
Synchronized iPhones, Again!
toyship
2
1.4k
ARKit4.pdf
toyship
1
2.1k
Custom Gesture Recognizer on iOS
toyship
3
1.2k
HEVC Video with Alpha Channel
toyship
1
1.1k
RealityKit & Reality Composer
toyship
3
480
ARKit3
toyship
4
7k
UIViewPropertyAnimator and Easing
toyship
2
930
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
41
2.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
1
39
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Code Reviewing Like a Champion
maltzj
519
39k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
790
The Cost Of JavaScript in 2023
addyosmani
45
6.6k
RailsConf 2023
tenderlove
29
880
Build The Right Thing And Hit Your Dates
maggiecrowley
32
2.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
Six Lessons from altMBA
skipperchong
26
3.5k
Transcript
AR FACE DETECTION @TACHIBANAKAORU 2017/10/25
AR FACE DETECTION ࣗݾհ ▸ @TachibanaKaoru ▸ ϑϦʔϥϯε iOSΤϯδχΞ ▸
ϘϧμϦϯά͕͖Ͱɺ࠷ۙϦʔυΫϥΠϛ ϯάνϟϨϯδதɻ ▸ Blog : http://www.toyship.org/Kaoru
ARKIT
AR FACE DETECTIONTEXT ARKIT ▸ Augmented RealityΛ؆୯ʹ࣮͢ΔϑϨʔϜϫʔΫ ▸ iOS11͔Βհ͞Εͨ ▸
CPU͕A9Ҏ্ͷͰར༻Մೳ
AR FACE DETECTION ARKITͷಛ ▸ ࣮͕؆୯ ▸ σόΠεͷՃใΛར༻ ▸ ඳըΤϯδϯΛબͰ͖Δ
AR FACE DETECTION ARKITͷಛ ▸ ࣮͕؆୯ ▸ Xcode9͔ΒɺςϯϓϨʔτϓϩδΣΫτʹ ʮAugmented Reality
Appʯ͕͋Γɺ͜ΕΛϏϧυ͢Δ ͚ͩͰɺγϯϓϧͳARΞϓϦέʔγϣϯͱͳΓ·͢ɻ ▸ ࣗͰ࣮͢Δ߹ʹɺARSCNViewͳͲͷΦϒδΣΫ τΛ࡞Δ͚ͩͰಈըॲཧͳͲΛ͢Δඞཁ͕ͳ͘ɺγϯϓ ϧɻ
AR FACE DETECTION ARKITͷಛ ▸ σόΠεͷՃใͱΧϝϥը૾Λಉ࣌ʹղ ੳ͢ΔͨΊτϥοΩϯά͕ਖ਼֬
AR FACE DETECTION ARKITͷಛ ▸ ඳըΤϯδϯΛબͰ͖Δ ▸ SceneKitɺSpriteKitɺMetalͷඳըϑϨʔϜϫʔΫʹରԠ ▸ UnityUnreal
EngineʹରԠ
AR FACE DETECTION ෆࢥٞͷࠃͷΞϦεAR
AR FACE DETECTIONTEXT AR WORLD TRACKING WITH ARKIT ▸ ARSCNViewΛ࡞͠ɺWorld
Tracking༻ͷConfiguretonΛઃఆ͢Δɻ ▸ ࣗಈతʹΧϝϥը૾͕ॲཧ͞ΕΔɻ
TEXT AR WORLD TRACKING WITH ARKIT ▸ ฏ໘ݕ͕onʹͳ͍ͬͯΔͱɺݕͨ͠߹ʹDelegateʹ௨͞ΕΔ
AR FACE DETECTION ARKIT FACE DETECTION ▸ ळͷΠϕϯτͰiPhoneXͱಉ࣌ʹൃද ▸ ݱࡏͷͱ͜ΖɺiPhoneXͷΈͰར༻Ͱ͖Δػೳ
AR FACE DETECTION
AR FACE DETECTIONTEXT IPHONEX SENSORS
AR FACE DETECTIONTEXT
AR FACE DETECTIONTEXT ʢը૾ΠϝʔδͰ͢ʣ
AR FACE DETECTION AR FACE DETECTION ▸ True Depth CameraʹΑΓɺإͷਂใΛऔಘ͢Δ
▸ 50ݸҎ্ʹ͓ΑͿإͷৄࡉύʔπϞσϧΛผՄೳ ▸ VisionϑϨʔϜϫʔΫͰإύʔπͷೝࣝՄೳ͕ͩɺೝࣝͰ͖Δύʔπ͕গ ͳ͍
AR FACE DETECTION
AR FACE DETECTIONTEXT AR WORLD TRACKING WITH ARKIT ▸ ARSCNViewΛ࡞͠ɺFace
Detection༻ͷConfiguretonΛઃఆ͢Δɻ ▸ ࣗಈతʹΧϝϥը૾͕ॲཧ͞ΕΔɻ
AR FACE DETECTION FACE DETECTION ▸ إ͕ೝࣝ͞Εͨ࣌ʹDelegateʹ௨͞ΕΔ
AR FACE DETECTION FRONT OR REAR CAMERA ▸ ARCSNViewΛ࡞ͬͯWorld TrackingΛ͠Α͏ͱ͢ΔͱɺσϑΥϧτͷঢ়ଶͰ
iPhoneͷϦΞΧϝϥ͕ΘΕ·͢ɻ ▸ ͜ΕϑϩϯτΧϝϥʹม͑Δ͜ͱͰ͖ΔͷͰ͠ΐ͏͔ʁ ▸ Ͱ͖·ͤΜ
AR FACE DETECTION FRONT OR REAR CAMERA ▸ ͱ͜Ζ͕ɺiPhoneͷإೝࣝͰɺવTrue Depth
Camera͕͋ΔϑϩϯτΧϝϥ ͷө૾͕ΘΕ·͢ɻ ▸ ͜ΕϦΞΧϝϥʹม͑Δ͜ͱͰ͖ΔͷͰ͠ΐ͏͔ʁ ▸ Ͱ͖·ͤΜ
AR FACE DETECTIONTEXT FRONT OR REAR CAMERA ▸ ͓ͦΒ͘ɺConfigurationʹΑΓɺར༻͢ΔΧϝϥ͕ҟͳΔͱ͓ΘΕ·͢ ▸
World Tracking Configurationͷ߹ʹϦΞΧϝϥ ▸ Face Detection Configurationͷ߹ʹϑϩϯτΧϝϥ
AR FACE DETECTION FACE DETECTION SAMPLE CODE ▸ ळͷΠϕϯτͱಉ࣌ʹFace DetectionͷAR͕ൃද͞Εɺಉ࣌ʹαϯϓϧίʔυ
ఏڙ͞Ε͍ͯ·͢ɻ ▸ ͨͩ͠ɺ࣮ػ(iPhoneX)Ͱ͔͠ػೳ͠ͳ͍ͷͰɺίʔυΛΑΉ͔͠ͳ͍ͷͰ͢ ͕……ɻ
AR FACE DETECTION DEPTH DATA IN ARFRAME
AR FACE DETECTION ·ͱΊ ▸ AR World Tracking/ AR Face
DetectionͲͪΒ࣮͕ඇৗʹ؆୯ ▸ AR Face Detection࣮ػͰ͔͠ࢼͤͳ͍ ▸ iPhoneXཉ͍͠ʂ