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 2018
Search
Tomoaki Imai
December 10, 2018
Technology
1
430
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
Decentralized ID とWebの未来
tomoima525
0
120
Web3/メタバースにおけるグローバルのトレンドと活用の最前線
tomoima525
2
2.5k
自分の道の歩み方~楽しくチャレンジするためのヒント~
tomoima525
2
400
Continuum: Background Checker with Zero-Knowledge Proof
tomoima525
0
2.4k
Catching up with TurboModule
tomoima525
1
3.2k
シリコンバレースタートアップのリモート開発
tomoima525
2
1.8k
A guide to writing specs toward engineers
tomoima525
0
280
A guide to writing specs toward engineers(Japanese)
tomoima525
9
2.4k
Migrating from Flow to TypeScript on a mono repo project
tomoima525
1
490
Other Decks in Technology
See All in Technology
On Your Data を超えていく!
hirotomotaguchi
2
690
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
5
540
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
930
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
390
Azureの基本的な権限管理の勉強会
yhana
0
620
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
270
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
プラットフォームってつくることより計測することが重要なんじゃないかという話 / Platform Engineering Meetup #8
taishin
1
370
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
800
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
210
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
250
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
7
3.8k
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
42
12k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Docker and Python
trallard
34
2.7k
Product Roadmaps are Hard
iamctodd
44
9.7k
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
A Tale of Four Properties
chriscoyier
151
22k
Designing for Performance
lara
601
67k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
A better future with KSS
kneath
231
16k
Facilitating Awesome Meetings
lara
42
5.6k
We Have a Design System, Now What?
morganepeng
43
6.8k
Documentation Writing (for coders)
carmenintech
60
3.9k
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