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
CameraXを使ったら最高だった話
Search
ikemura23
August 21, 2020
Programming
370
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CameraXを使ったら最高だった話
2020/08/21 YUMEMI.apk #1
ikemura23
August 21, 2020
Transcript
12 slides
CameraXΛͬͨΒ Χϝϥ࣮͕ϝνϟָͩͬͨ 2020/08/21 YUMEMI.apk
ଜ ߶ ग़ɿԭೄݝ දౡ झຯɿεϙʔπ ͖ͳՌɿύΠφοϓϧ Twitterɿikemura23
CameraXͰΧϝϥ࣮͕ ϝνϟָʹͳͬͯ·͢
CameraX ͱ ɾJetpack αϙʔτ ϥΠϒϥϦ ɾΧϝϥΞϓϦͷ։ൃΛ؆୯ʹ͢ΔͨΊʹ࡞͞Εͨ ɾCamera2 APIͷ্ʹߏங͞Ε͍ͯΔ ɾCameraXͷϥϘͰ͞·͟·ͳ͕ςετ͞Εಈ࡞͕Ұ͍ͯ͠Δ ɾݱࡏ
1.0.0-beta07
CameraXͷԿ͕͍͍ͷ͔ʁ ɾϥΠϑαΠΫϧͷཧ͕ϝνϟָ ɾCamera2 APIΑΓগͳ͍ίʔυྔͰ࣮Ͱ͖Δ ɾಛఆͷϢʔεέʔεΛ؆୯ʹ࣮Ͱ͖Δ ɹɾϓϨϏϡʔ ɹɾը૾Ωϟϓνϟ ɹɾը૾ੳ
ͬ͘͟ΓCameraX࣮ίʔυΛհ
xmlͷPreviewViewΛઃஔ ඇϒϩοΩϯά Ϟʔυ σϑΥϧτղ૾͕640x480
͋ͱ bindToLifecycle ʹ͚ͩ͢ UseCaseΛ ՄมྻͰͤΔ
࣮ࡍͷίʔυ Google Codelabs Λࢀর͍ͯͩ͘͠͞
CameraXͷ৺ͳ ɾຊAndroidʹෆ۩߹͕νϥϗϥ ɹɾCameraXϥϘͰςετࡁΈ΄ͱΜͲւ֎ϝʔΧʔ ɹɾຊର֎ʁ ɾϏσΦΩϟϓνϟ·ͩެࣜαϙʔτ͞Ε͍ͯͳ͍ ɹɾ·ͩ·ͩ։ൃதͩͱ͔
CameraXͷࠓޙͷظ ɾARͱͷ࿈ܞ ɹɾARͱCameraXͱͷ࿈ܞָ͕ʹ࣮Ͱ͖ͨΒ͍͍ͳ ɹɾʢެࣜYouTubeͰʮARʯͱ୯ޠ͕ग़͚ͨͩͰɺAR࿈ܞͷใ͕΄΅ͳ͍ʣ ɾը૾ղੳͷڧԽ ɹɾΦϯσόΠεͰͷຊޠೝࣝΛʢML Kitʣ ɾϏσΦΩϟϓνϟͷެࣜαϙʔτ
͍·͙͢৮ΕͯΈΑ͏ CameraX
More Decks by ikemura23
See All by ikemura23
【書評】 もう無理 間違いだらけの会社選び
ikemura23
0
160
人間にとってちょうどいいテクノロジーとは?- 読書シェア会 vol.6
ikemura23
0
120
Dreamカメラ
ikemura23
0
37
CO2測定プロジェクト成果報告会
ikemura23
0
50
Other Decks in Programming
See All in Programming
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
470
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
140
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
110
protojson における文字化けの扱い
kazuki1023
0
460
The Cost of the DOM
ypresto
2
210
LLM 101
dalinaum
0
540
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
440
Ruby から Emacs を操作したい
phigasui
0
390
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
420
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
3
220
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
30 Presentation Tips
portentint
PRO
1
480
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
360
Building Adaptive Systems
keathley
44
3.3k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k