Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Recap multi-camera API from Android Dev Summit 2018

Tomoaki Imai
December 10, 2018

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

More Decks by Tomoaki Imai

Other Decks in Technology

Transcript

  1. What’s new in Android P? • Physical cameras are exposed

    to third-party app developers Pre-Pie Pie and beyond
  2. What’s new? • Open multiple physical cameras in one session

    ‣ Developers can retrieve and replace two camera streams simultaneously
  3. What’s new? • Open multiple physical camera in one session

    PhysicalCamera0 PhysicalCamera1 Pie and beyond
  4. What can we do with this? • Usage ‣ Calculate

    depth map using 2 cameras ‣ Zoom using 2 cameras depending on focal length
  5. 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
  6. Restriction • Very few supported device as of Dec, 2018

    ‣ Pixel 3 ‣ Huawei Mate 20 Series
  7. 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
  8. 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
  9. Future of Camera on Android • Less frustration? ‣ Might

    become a part of Jetpack?? https://youtu.be/FV3iN4PIB5U?t=2757 (46:00)
  10. What should we catch up? • Understand the basic functionality

    of Camera ‣ WTF focus? ‣ WTF Aperture? ‣ WTF white balance?
  11. What should we catch up? • Learn Camera2 Framework ‣

    WTF CameraCaptureSession?? ‣ WTF CameraCharacteristics? ‣ WTF with Camera2 API?
  12. What should we catch up? • Learn Camera2 Framework https://youtu.be/WU1tzOIpmFw

    https://speakerdeck.com/tomoima525/camera2-api-and-beyond
  13. Wrap up • multi-camera support allows us to control multiple

    stream simpler • Not many devices are supported as of December 2018