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
Recap multi-camera API from Android Dev Summit ...
Search
Tomoaki Imai
December 10, 2018
Technology
660
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Recap multi-camera API from Android Dev Summit 2018
Talk about what we can do with multi-camera API on Android Pie
Tomoaki Imai
December 10, 2018
Transcript
29 slides
Recap multi-camera API from Android Dev Summit 2018 Chanoma, inc.
Tomoaki Imai
https://chomp.app/ Located in Bay Area since 2016 Author of Android
アプリ設計パターン⼊入⾨門
https://youtu.be/u38wOv2a_dA
What’s new in Android P? • Physical cameras are exposed
to third-party app developers Pre-Pie Pie and beyond
What’s new? • Open multiple physical cameras in one session
‣ Developers can retrieve and replace two camera streams simultaneously
What’s new? • Open multiple physical camera in one session
Camera1 Camera2 Pre-Pie
What’s new? • Open multiple physical camera in one session
PhysicalCamera0 PhysicalCamera1 Pie and beyond
What’s new? • Open multiple physical camera in one session
PhysicalCamera0 PhysicalCamera1
What’s new? • Open multiple physical camera in one session
PhysicalCamera0 PhysicalCamera1
What’s new? • Open multiple physical camera in one session
PhysicalCamera0 PhysicalCamera1
What can we do with this? • Usage ‣ Calculate
depth map using 2 cameras ‣ Zoom using 2 cameras depending on focal length
Restriction • Physical cameras should be in the same logical
group
Restriction • Physical cameras should be in the same logical
group
Restriction • Physical cameras should be in the same logical
group Pixel3 [0] : BACK_CAMERA [1] : LOGICAL_CAMERA(FRONT) [2] : PHYSCIAL_CAMERA_1 [3] : PHYSCIAL_CAMERA_2
Restriction
Restriction • Very few supported device as of Dec, 2018
‣ Pixel 3 ‣ Huawei Mate 20 Series
How does the process change? setup camera ID start Preview
open Camera
How does the process change? setup camera ID start Preview
open Camera
How does the process change? setup camera ID start Preview
start Camera
How does the process change? setup camera ID start Preview
open Camera
Demo https://github.com/tomoima525/ MultiCameraSample
Future of Camera on Android • More devices to support
multi-camera API https://source.android.com/compatibility/android-cdd#7_5_4_camera_api_behavior
Future of Camera on Android • Less fragmentation ‣ Project
Treble https://android-developers.googleblog.com/2018/11/an-update-on-project- treble.html Understand the impact of Generic System Images (GSI) (Android Dev Summit '18) https://youtu.be/Y-HmCIHD63w
Future of Camera on Android • Less frustration? ‣ Might
become a part of Jetpack?? https://youtu.be/FV3iN4PIB5U?t=2757 (46:00)
What should we catch up? • Understand the basic functionality
of Camera ‣ WTF focus? ‣ WTF Aperture? ‣ WTF white balance?
What should we catch up? • Understand the basic functionality
of Camera https://youtu.be/QEVm5MMBluk
What should we catch up? • Learn Camera2 Framework ‣
WTF CameraCaptureSession?? ‣ WTF CameraCharacteristics? ‣ WTF with Camera2 API?
What should we catch up? • Learn Camera2 Framework https://youtu.be/WU1tzOIpmFw
https://speakerdeck.com/tomoima525/camera2-api-and-beyond
Wrap up • multi-camera support allows us to control multiple
stream simpler • Not many devices are supported as of December 2018
More Decks by Tomoaki Imai
See All by Tomoaki Imai
シリコンバレーでスタートアップを共同創業したファウンディングエンジニアとしての学び
tomoima525
1
1.9k
パッションの見つけ方,育て方
tomoima525
2
190
Decentralized ID とWebの未来
tomoima525
0
210
Web3/メタバースにおけるグローバルのトレンドと活用の最前線
tomoima525
2
4k
自分の道の歩み方~楽しくチャレンジするためのヒント~
tomoima525
2
650
Continuum: Background Checker with Zero-Knowledge Proof
tomoima525
0
2.8k
Catching up with TurboModule
tomoima525
1
4.7k
シリコンバレースタートアップのリモート開発
tomoima525
3
2.1k
A guide to writing specs toward engineers
tomoima525
0
360
Other Decks in Technology
See All in Technology
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
120
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
3
840
思考過程から秘密が漏れる:Amazon Bedrock上のKimi K3を5つの方法で攻めたら、25回中22回漏洩した話
yama3133
1
160
AIが会計業務の伴走者に。 マネーフォワード クラウド会計MCPサーバーで実現するAI前提の新しい業務プロセス
nobitabashi
0
160
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
350
Gov-JAWS#9 統合監視機能のマネージドサービス化+AIによる障害時自動調査
fj_yoshimura_kosuke
0
140
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
140
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
2
180
AWS Emulator を評価する: 手元で動く AWS の API の仕組み、始め方、確かめ方
inariku
PRO
1
670
JAWSコミュニティに 参加して1年経った結果
ssakita
0
160
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
230
Kiro CLI 入門 (ターミナルと CI で使う) | 目指せ Kiro マスター 03
inariku
PRO
2
160
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
350
Become a Pro
speakerdeck
PRO
31
6.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
530
The untapped power of vector embeddings
frankvandijk
2
2k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
980
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
830
Embracing the Ebb and Flow
colly
88
5.2k
The Limits of Empathy - UXLibs8
cassininazir
2
780
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850