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
530
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
73
Decentralized ID とWebの未来
tomoima525
0
150
Web3/メタバースにおけるグローバルのトレンドと活用の最前線
tomoima525
2
3k
自分の道の歩み方~楽しくチャレンジするためのヒント~
tomoima525
2
480
Continuum: Background Checker with Zero-Knowledge Proof
tomoima525
0
2.5k
Catching up with TurboModule
tomoima525
1
3.8k
シリコンバレースタートアップのリモート開発
tomoima525
3
1.9k
A guide to writing specs toward engineers
tomoima525
0
290
A guide to writing specs toward engineers(Japanese)
tomoima525
9
2.5k
Other Decks in Technology
See All in Technology
モノレポ開発のエラー、誰が見る?Datadog で実現する適切なトリアージとエスカレーション
biwashi
6
810
速くて安いWebサイトを作る
nishiharatsubasa
10
13k
『衛星データ利用の方々にとって近いようで触れる機会のなさそうな小話 ~ 衛星搭載ソフトウェアと衛星運用ソフトウェア (実物) を動かしながらわいわいする編 ~』 @日本衛星データコミニティ勉強会
meltingrabbit
0
150
Goで作って学ぶWebSocket
ryuichi1208
1
880
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
2k
目の前の仕事と向き合うことで成長できる - 仕事とスキルを広げる / Every little bit counts
soudai
24
7.1k
Building Products in the LLM Era
ymatsuwitter
10
5.5k
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
520
自動テストの世界に、この5年間で起きたこと
autifyhq
10
8.5k
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
970
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
710
プロセス改善による品質向上事例
tomasagi
2
2.6k
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Code Review Best Practice
trishagee
67
18k
Documentation Writing (for coders)
carmenintech
67
4.6k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
KATA
mclloyd
29
14k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Making Projects Easy
brettharned
116
6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Side Projects
sachag
452
42k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
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