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
Recap multi-camera API from Android Dev Summit ...
Search
Tomoaki Imai
December 10, 2018
Technology
1
590
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
Tweet
Share
More Decks by Tomoaki Imai
See All by Tomoaki Imai
シリコンバレーでスタートアップを共同創業したファウンディングエンジニアとしての学び
tomoima525
1
1.2k
パッションの見つけ方,育て方
tomoima525
1
110
Decentralized ID とWebの未来
tomoima525
0
170
Web3/メタバースにおけるグローバルのトレンドと活用の最前線
tomoima525
2
3.4k
自分の道の歩み方~楽しくチャレンジするためのヒント~
tomoima525
2
540
Continuum: Background Checker with Zero-Knowledge Proof
tomoima525
0
2.6k
Catching up with TurboModule
tomoima525
1
4.2k
シリコンバレースタートアップのリモート開発
tomoima525
3
1.9k
A guide to writing specs toward engineers
tomoima525
0
300
Other Decks in Technology
See All in Technology
Android Audio: Beyond Winning On It
atsushieno
0
2.4k
Snowflake Intelligenceにはこうやって立ち向かう!クラシルが考えるAI Readyなデータ基盤と活用のためのDataOps
gappy50
0
280
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
240
Rustから学ぶ 非同期処理の仕組み
skanehira
1
150
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
5
750
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
260
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.3k
S3アクセス制御の設計ポイント
tommy0124
3
200
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
260
Evolución del razonamiento matemático de GPT-4.1 a GPT-5 - Data Aventura Summit 2025 & VSCode DevDays
lauchacarro
0
210
Claude Code でアプリ開発をオートパイロットにするためのTips集 Zennの場合 / Claude Code Tips in Zenn
wadayusuke
5
1.3k
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
The Cult of Friendly URLs
andyhume
79
6.6k
Optimizing for Happiness
mojombo
379
70k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Designing Experiences People Love
moore
142
24k
Music & Morning Musume
bryan
46
6.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Transcript
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