SlideShare a Scribd company logo
1 of 26
Download to read offline
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Google I/O 2019 の Codelabs で
ARCore Cloud Anchors を触った話
Takao Sumitomo
@cattaka_net
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
自己紹介
●
住友 孝郎(Takao Sumitomo)
●
Wantedly, Inc. 所属
●
Androidアプリを主に担当
●
@cattaka_net (アイコンは気分で変わる)
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Google I/O 2019行ってきたよ
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
内容被ったので
Codelabsで得た知見を共有します
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Codelabsで遊んできました
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
お題:ARCore Cloud Anchors
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
そもそも ARCore って?
●
カメラやセンサー類で動きを検出
●
動かしたらそれに追従する
●
アンカーを使うと、それを起点にオブジェクトを表示できる
公式のQuickstartより
https://developers.google.com/ar/develop/java/quickstart
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
ARCore Cloud Anchors って?
●
クライアント側で作ったアンカーを共有できる
アンカーに
なりそうなものを
撮影して作成
Cloud Anchorsホストさせる
共有する
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
複数人が同じ空間を共有できる
●
たとえば2人で1つの机に向かい、その机をアンカーにする
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
実装はどんな感じなのか?
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
アンカーを作る
●
ARCoreが自動で認識した平面をタップしたとき、
そのタップした平面が渡される
// コールバックで渡される
HitResult hitResult = /* タップした平面 */;
// アンカーを作成する
Anchor anchor = hitResult.createAnchor();
setNewAnchor(anchor);
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
アンカーを Cloud Anchors にホストする
●
普通にメソッドをたたいて、成否はコールバック
Scene arScene = getArSceneView().getScene();
// Cloud Anchor にホストさせる
Anchor newAnchor = getArSceneView().getSession().hostCloudAnchor(anchor);
// 反映されたラコールバックが呼ばれる
arScene.addOnUpdateListener(frameTime -> { /* コールバック */ });
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
アンカーのIDを取得
●
ただの String です
●
これを共有すればOK
String cloudAnchorId = anchor.getCloudAnchorId();
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
共有されたアンカーを取得する
●
普通にメソッドをたたいて、成否はコールバック
Scene arScene = getArSceneView().getScene();
Anchor newAnchor = getArSceneView().getSession()
.resolveCloudAnchor(cloudAnchorId);
// 反映されたラコールバックが呼ばれる
arScene.addOnUpdateListener(frameTime -> { /* コールバック */ });
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
すごい簡単!!
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
どうして今まで手を出さなかったのか、、、
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
学習を阻むもの
●
やったことが無いものはハードルが高い
●
サンプルコードは実行しただけで満足してしまう
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Codelabの良いところ
●
直接関係しない部分は準備されている
●
要点のみが適度な穴埋め問題になっている
●
自分で動かせている感がある
●
完全に理解した気持ちになれる
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Codelabs は小一時間で把握できた
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
CameraX と MLKit も楽しかった
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Object Detection Model
https://drive.google.com/file/d/1LXBsgIRMeNSpB3zV1MmAcGGPjqlakTo2/view?usp=sharing
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
Image Label Model
https://drive.google.com/file/d/1DUszdyxs5T5RLEH3QiXOnO8u7BLuHyRn/view?usp=sharing
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
カメラアプリのサンプル
https://github.com/cattaka/CameraXMLKit
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
学ぶモチベーションを得た!
2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
ご清聴ありがとうございました
Takao Sumitomo
@cattaka_net

More Related Content

More from Takao Sumitomo

Viewを動的に変化させるアプローチ
Viewを動的に変化させるアプローチViewを動的に変化させるアプローチ
Viewを動的に変化させるアプローチTakao Sumitomo
 
プロダクトを育てるのにGoogleのサービスが助けてくれること
プロダクトを育てるのにGoogleのサービスが助けてくれることプロダクトを育てるのにGoogleのサービスが助けてくれること
プロダクトを育てるのにGoogleのサービスが助けてくれることTakao Sumitomo
 
AdapterToolboxでRecyclerViewを楽にする
AdapterToolboxでRecyclerViewを楽にするAdapterToolboxでRecyclerViewを楽にする
AdapterToolboxでRecyclerViewを楽にするTakao Sumitomo
 
エンジニアがプロダクト育成を始めるまでにやったこと
エンジニアがプロダクト育成を始めるまでにやったことエンジニアがプロダクト育成を始めるまでにやったこと
エンジニアがプロダクト育成を始めるまでにやったことTakao Sumitomo
 
Wantedlyのテスト事情
Wantedlyのテスト事情Wantedlyのテスト事情
Wantedlyのテスト事情Takao Sumitomo
 
用途に合わせたアニメーションの実装方法
用途に合わせたアニメーションの実装方法用途に合わせたアニメーションの実装方法
用途に合わせたアニメーションの実装方法Takao Sumitomo
 
potatotips (iOS/Android開発Tips共有会) 第19回 資料
potatotips (iOS/Android開発Tips共有会) 第19回 資料potatotips (iOS/Android開発Tips共有会) 第19回 資料
potatotips (iOS/Android開発Tips共有会) 第19回 資料Takao Sumitomo
 
SQLiteDatabaseを無理矢理覗く
SQLiteDatabaseを無理矢理覗くSQLiteDatabaseを無理矢理覗く
SQLiteDatabaseを無理矢理覗くTakao Sumitomo
 
開発を効率的に進めるられるまでの道程
開発を効率的に進めるられるまでの道程開発を効率的に進めるられるまでの道程
開発を効率的に進めるられるまでの道程Takao Sumitomo
 
テストがあればなんとかなる〜効率化までの道程〜
テストがあればなんとかなる〜効率化までの道程〜テストがあればなんとかなる〜効率化までの道程〜
テストがあればなんとかなる〜効率化までの道程〜Takao Sumitomo
 
勉強会資料 データ構造とアルゴリズム
勉強会資料 データ構造とアルゴリズム勉強会資料 データ構造とアルゴリズム
勉強会資料 データ構造とアルゴリズムTakao Sumitomo
 
勉強会資料 Uml概要
勉強会資料 Uml概要勉強会資料 Uml概要
勉強会資料 Uml概要Takao Sumitomo
 
Firefox OSの何が嬉しいか
Firefox OSの何が嬉しいかFirefox OSの何が嬉しいか
Firefox OSの何が嬉しいかTakao Sumitomo
 
HTML5でFirefox OSアプリを作ろう
HTML5でFirefox OSアプリを作ろうHTML5でFirefox OSアプリを作ろう
HTML5でFirefox OSアプリを作ろうTakao Sumitomo
 
フォクすけロボ開発進捗報告
フォクすけロボ開発進捗報告フォクすけロボ開発進捗報告
フォクすけロボ開発進捗報告Takao Sumitomo
 
今更ながらCSS3を試してみた
今更ながらCSS3を試してみた今更ながらCSS3を試してみた
今更ながらCSS3を試してみたTakao Sumitomo
 
Crystalskullを改造してみる
Crystalskullを改造してみるCrystalskullを改造してみる
Crystalskullを改造してみるTakao Sumitomo
 
もしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったら
もしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったらもしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったら
もしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったらTakao Sumitomo
 
アンドロイダー的にHTML5でどこまでできそうか
アンドロイダー的にHTML5でどこまでできそうかアンドロイダー的にHTML5でどこまでできそうか
アンドロイダー的にHTML5でどこまでできそうかTakao Sumitomo
 

More from Takao Sumitomo (20)

Viewを動的に変化させるアプローチ
Viewを動的に変化させるアプローチViewを動的に変化させるアプローチ
Viewを動的に変化させるアプローチ
 
プロダクトを育てるのにGoogleのサービスが助けてくれること
プロダクトを育てるのにGoogleのサービスが助けてくれることプロダクトを育てるのにGoogleのサービスが助けてくれること
プロダクトを育てるのにGoogleのサービスが助けてくれること
 
AdapterToolboxでRecyclerViewを楽にする
AdapterToolboxでRecyclerViewを楽にするAdapterToolboxでRecyclerViewを楽にする
AdapterToolboxでRecyclerViewを楽にする
 
エンジニアがプロダクト育成を始めるまでにやったこと
エンジニアがプロダクト育成を始めるまでにやったことエンジニアがプロダクト育成を始めるまでにやったこと
エンジニアがプロダクト育成を始めるまでにやったこと
 
Wantedlyのテスト事情
Wantedlyのテスト事情Wantedlyのテスト事情
Wantedlyのテスト事情
 
用途に合わせたアニメーションの実装方法
用途に合わせたアニメーションの実装方法用途に合わせたアニメーションの実装方法
用途に合わせたアニメーションの実装方法
 
Uml速習会
Uml速習会Uml速習会
Uml速習会
 
potatotips (iOS/Android開発Tips共有会) 第19回 資料
potatotips (iOS/Android開発Tips共有会) 第19回 資料potatotips (iOS/Android開発Tips共有会) 第19回 資料
potatotips (iOS/Android開発Tips共有会) 第19回 資料
 
SQLiteDatabaseを無理矢理覗く
SQLiteDatabaseを無理矢理覗くSQLiteDatabaseを無理矢理覗く
SQLiteDatabaseを無理矢理覗く
 
開発を効率的に進めるられるまでの道程
開発を効率的に進めるられるまでの道程開発を効率的に進めるられるまでの道程
開発を効率的に進めるられるまでの道程
 
テストがあればなんとかなる〜効率化までの道程〜
テストがあればなんとかなる〜効率化までの道程〜テストがあればなんとかなる〜効率化までの道程〜
テストがあればなんとかなる〜効率化までの道程〜
 
勉強会資料 データ構造とアルゴリズム
勉強会資料 データ構造とアルゴリズム勉強会資料 データ構造とアルゴリズム
勉強会資料 データ構造とアルゴリズム
 
勉強会資料 Uml概要
勉強会資料 Uml概要勉強会資料 Uml概要
勉強会資料 Uml概要
 
Firefox OSの何が嬉しいか
Firefox OSの何が嬉しいかFirefox OSの何が嬉しいか
Firefox OSの何が嬉しいか
 
HTML5でFirefox OSアプリを作ろう
HTML5でFirefox OSアプリを作ろうHTML5でFirefox OSアプリを作ろう
HTML5でFirefox OSアプリを作ろう
 
フォクすけロボ開発進捗報告
フォクすけロボ開発進捗報告フォクすけロボ開発進捗報告
フォクすけロボ開発進捗報告
 
今更ながらCSS3を試してみた
今更ながらCSS3を試してみた今更ながらCSS3を試してみた
今更ながらCSS3を試してみた
 
Crystalskullを改造してみる
Crystalskullを改造してみるCrystalskullを改造してみる
Crystalskullを改造してみる
 
もしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったら
もしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったらもしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったら
もしソフトウェアディベロッパーが3Dプリンターで『フォクすけ』を作ったら
 
アンドロイダー的にHTML5でどこまでできそうか
アンドロイダー的にHTML5でどこまでできそうかアンドロイダー的にHTML5でどこまでできそうか
アンドロイダー的にHTML5でどこまでできそうか
 

Recently uploaded

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Google I/O 2019 の Codelabs で ARCore Cloud Anchors を触った話

  • 1. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Google I/O 2019 の Codelabs で ARCore Cloud Anchors を触った話 Takao Sumitomo @cattaka_net
  • 2. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 自己紹介 ● 住友 孝郎(Takao Sumitomo) ● Wantedly, Inc. 所属 ● Androidアプリを主に担当 ● @cattaka_net (アイコンは気分で変わる)
  • 3. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Google I/O 2019行ってきたよ
  • 4. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 内容被ったので Codelabsで得た知見を共有します
  • 5. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Codelabsで遊んできました
  • 6. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net
  • 7. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net お題:ARCore Cloud Anchors
  • 8. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net そもそも ARCore って? ● カメラやセンサー類で動きを検出 ● 動かしたらそれに追従する ● アンカーを使うと、それを起点にオブジェクトを表示できる 公式のQuickstartより https://developers.google.com/ar/develop/java/quickstart
  • 9. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net ARCore Cloud Anchors って? ● クライアント側で作ったアンカーを共有できる アンカーに なりそうなものを 撮影して作成 Cloud Anchorsホストさせる 共有する
  • 10. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 複数人が同じ空間を共有できる ● たとえば2人で1つの机に向かい、その机をアンカーにする
  • 11. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 実装はどんな感じなのか?
  • 12. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net アンカーを作る ● ARCoreが自動で認識した平面をタップしたとき、 そのタップした平面が渡される // コールバックで渡される HitResult hitResult = /* タップした平面 */; // アンカーを作成する Anchor anchor = hitResult.createAnchor(); setNewAnchor(anchor);
  • 13. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net アンカーを Cloud Anchors にホストする ● 普通にメソッドをたたいて、成否はコールバック Scene arScene = getArSceneView().getScene(); // Cloud Anchor にホストさせる Anchor newAnchor = getArSceneView().getSession().hostCloudAnchor(anchor); // 反映されたラコールバックが呼ばれる arScene.addOnUpdateListener(frameTime -> { /* コールバック */ });
  • 14. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net アンカーのIDを取得 ● ただの String です ● これを共有すればOK String cloudAnchorId = anchor.getCloudAnchorId();
  • 15. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 共有されたアンカーを取得する ● 普通にメソッドをたたいて、成否はコールバック Scene arScene = getArSceneView().getScene(); Anchor newAnchor = getArSceneView().getSession() .resolveCloudAnchor(cloudAnchorId); // 反映されたラコールバックが呼ばれる arScene.addOnUpdateListener(frameTime -> { /* コールバック */ });
  • 16. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net すごい簡単!!
  • 17. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net どうして今まで手を出さなかったのか、、、
  • 18. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 学習を阻むもの ● やったことが無いものはハードルが高い ● サンプルコードは実行しただけで満足してしまう
  • 19. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Codelabの良いところ ● 直接関係しない部分は準備されている ● 要点のみが適度な穴埋め問題になっている ● 自分で動かせている感がある ● 完全に理解した気持ちになれる
  • 20. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Codelabs は小一時間で把握できた
  • 21. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net CameraX と MLKit も楽しかった
  • 22. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Object Detection Model https://drive.google.com/file/d/1LXBsgIRMeNSpB3zV1MmAcGGPjqlakTo2/view?usp=sharing
  • 23. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net Image Label Model https://drive.google.com/file/d/1DUszdyxs5T5RLEH3QiXOnO8u7BLuHyRn/view?usp=sharing
  • 24. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net カメラアプリのサンプル https://github.com/cattaka/CameraXMLKit
  • 25. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net 学ぶモチベーションを得た!
  • 26. 2019-05-17 Shibuya.apk #34 - Report from Google I/O 2019 @cattaka_net ご清聴ありがとうございました Takao Sumitomo @cattaka_net