camera2 introdction

15
Camera 2 Introduction Heaton

Upload: booch-lin

Post on 30-Jul-2015

456 views

Category:

Mobile


1 download

TRANSCRIPT

Camera 2 Introduction

Heaton

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)

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.

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

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

Basic block for Camera 2 API

Operation model 

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

Thank you