Top Banner
Camera 2 Introduction Heaton
15
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Camera2 introdction

Camera 2 Introduction

Heaton

Page 2: Camera2 introdction

Camera API HistoryCamera APIs

Package - android.hardware.camera

Android version API Level Addition to Camera class

Android L 20 Camera2

kit-kat 19 None

Jelly bean mr2 18 None

Jelly bean mr1 17Minor (shutterSound enable)

Jelly bean 16Minor (AutoFocus Move Callback)

Ice-cream sandwitch 15Minor (Video Stabilization)

Ice-cream sandwitch 14Major (Face Detection)

Page 3: Camera2 introdction

Camera 2 API Overview• ● Android.hardware.camera2 API to facilitate fine-

grain photo capture and image processing.

• ● The android.hardware.camera2 package provides an interface to individual camera devices connected to an Android device. It replaces the deprecated Camera class.

Page 4: Camera2 introdction

Why Camera 2 Maybe because some Camera1 API limitation

High level black box Operating Modes1.Preview 2.Still Capture 3.Video Record

Burst Mode Photography – hard to implement

1.Zero Shutter Lag 2.Multi-Shot HDR 3.Panoramic Stitch…

Metadata: Practically, only face detection data could be returned to the application

Page 5: Camera2 introdction
Page 6: Camera2 introdction

Camera 2 improve• More manual control , pipeline model. More feedback

Page 7: Camera2 introdction
Page 8: Camera2 introdction
Page 9: Camera2 introdction

Basic block for Camera 2 API

Page 10: Camera2 introdction
Page 11: Camera2 introdction
Page 12: Camera2 introdction
Page 13: Camera2 introdction

Operation model 

Page 14: Camera2 introdction

ReferenceCamera 2

• Google I/o video:https://www.youtube.com/watch?v=92fgcUNCHic#t=1758

• Camera basic demo code: https://developer.android.com/preview/samples.html

• Camera2 sdk reference (Need download 60mb): http://storage.googleapis.com/androiddevelopers/preview/l-developer-preview-reference.zip

• Set up android l: https://developer.android.com/preview/setup-sdk.html

Camera

• HAL3:https://source.android.com/devices/camera/camera3.html

• HAL Subsystem https://source.android.com/devices/camera/camera3_requests_hal.html

• https://source.android.com/devices/camera/camera.html

Page 15: Camera2 introdction

Thank you