SlideShare a Scribd company logo
1 of 15
Download to read offline
Camera 2 Introduction
Heaton
Camera API History
Camera 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 17
Minor (shutterSound
enable)
Jelly bean 16
Minor (AutoFocus Move
Callback)
Ice-cream sandwitch 15
Minor (Video Stabilization)
Ice-cream sandwitch 14
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 Modes
1.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
Camera2 introdction
Camera 2 improve
• More manual control , pipeline model. More feedback
Camera2 introdction
Camera2 introdction
Basic block for Camera 2 API
Camera2 introdction
Camera2 introdction
Camera2 introdction
Operation model

Reference
Camera 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

More Related Content

Similar to Camera2 introdction

No more video loss - Alex Rivkin, Motorola Solutions
No more video loss - Alex Rivkin, Motorola SolutionsNo more video loss - Alex Rivkin, Motorola Solutions
No more video loss - Alex Rivkin, Motorola SolutionsDroidConTLV
 
CameraX: Make photography easier on Android!
CameraX: Make photography easier on Android!CameraX: Make photography easier on Android!
CameraX: Make photography easier on Android!Bapusaheb Patil
 
COSCUP 2017 FACE OFF
COSCUP 2017 FACE OFFCOSCUP 2017 FACE OFF
COSCUP 2017 FACE OFFPRADA Hsiung
 
Droidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera ApplicationsDroidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera ApplicationsHuyen Dao
 
Droidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera ApplicationsDroidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera ApplicationsHuyen Tue Dao
 
Surveon Megapixel Cameras - Professional Features & Functions
Surveon Megapixel Cameras - Professional Features & Functions Surveon Megapixel Cameras - Professional Features & Functions
Surveon Megapixel Cameras - Professional Features & Functions Surveon Technology Inc.
 
Cmos imaging present to customer0422
Cmos imaging present to customer0422Cmos imaging present to customer0422
Cmos imaging present to customer0422Anderson Huang
 
Airmazing Productions Portable Studio Design
Airmazing Productions Portable Studio DesignAirmazing Productions Portable Studio Design
Airmazing Productions Portable Studio DesignAndreas Ziebart
 
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAsMIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAsMIPI Alliance
 
tm.gdg.ro: Android on Raspberry Pi
tm.gdg.ro: Android on Raspberry Pitm.gdg.ro: Android on Raspberry Pi
tm.gdg.ro: Android on Raspberry PiAlexandru IOVANOVICI
 
Improving Quality & Profits with Vision
Improving Quality & Profits with VisionImproving Quality & Profits with Vision
Improving Quality & Profits with VisionTim Seymour
 
Bala ji microtechnologies cameralink line scan camera korea
Bala ji microtechnologies cameralink line scan camera koreaBala ji microtechnologies cameralink line scan camera korea
Bala ji microtechnologies cameralink line scan camera koreabalajibmt02
 
Surveon Megapxiel Camera Product Introduction
Surveon Megapxiel Camera Product IntroductionSurveon Megapxiel Camera Product Introduction
Surveon Megapxiel Camera Product IntroductionSurveon Technology Inc.
 
Digital Watchdog DWC-MD421DB User Manual
Digital Watchdog DWC-MD421DB User ManualDigital Watchdog DWC-MD421DB User Manual
Digital Watchdog DWC-MD421DB User ManualJMAC Supply
 
Digital Watchdog DWC-MD421TIRB User Manual
Digital Watchdog DWC-MD421TIRB User ManualDigital Watchdog DWC-MD421TIRB User Manual
Digital Watchdog DWC-MD421TIRB User ManualJMAC Supply
 

Similar to Camera2 introdction (16)

No more video loss - Alex Rivkin, Motorola Solutions
No more video loss - Alex Rivkin, Motorola SolutionsNo more video loss - Alex Rivkin, Motorola Solutions
No more video loss - Alex Rivkin, Motorola Solutions
 
CameraX: Make photography easier on Android!
CameraX: Make photography easier on Android!CameraX: Make photography easier on Android!
CameraX: Make photography easier on Android!
 
COSCUP 2017 FACE OFF
COSCUP 2017 FACE OFFCOSCUP 2017 FACE OFF
COSCUP 2017 FACE OFF
 
Droidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera ApplicationsDroidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera Applications
 
Droidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera ApplicationsDroidcon NYC 2014: Building Custom Camera Applications
Droidcon NYC 2014: Building Custom Camera Applications
 
Surveon Megapixel Cameras - Professional Features & Functions
Surveon Megapixel Cameras - Professional Features & Functions Surveon Megapixel Cameras - Professional Features & Functions
Surveon Megapixel Cameras - Professional Features & Functions
 
Cmos imaging present to customer0422
Cmos imaging present to customer0422Cmos imaging present to customer0422
Cmos imaging present to customer0422
 
Airmazing Productions Portable Studio Design
Airmazing Productions Portable Studio DesignAirmazing Productions Portable Studio Design
Airmazing Productions Portable Studio Design
 
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAsMIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
MIPI DevCon 2016: Multiple MIPI CSI-2 Cameras Leveraging FPGAs
 
Why ip060810
Why ip060810Why ip060810
Why ip060810
 
tm.gdg.ro: Android on Raspberry Pi
tm.gdg.ro: Android on Raspberry Pitm.gdg.ro: Android on Raspberry Pi
tm.gdg.ro: Android on Raspberry Pi
 
Improving Quality & Profits with Vision
Improving Quality & Profits with VisionImproving Quality & Profits with Vision
Improving Quality & Profits with Vision
 
Bala ji microtechnologies cameralink line scan camera korea
Bala ji microtechnologies cameralink line scan camera koreaBala ji microtechnologies cameralink line scan camera korea
Bala ji microtechnologies cameralink line scan camera korea
 
Surveon Megapxiel Camera Product Introduction
Surveon Megapxiel Camera Product IntroductionSurveon Megapxiel Camera Product Introduction
Surveon Megapxiel Camera Product Introduction
 
Digital Watchdog DWC-MD421DB User Manual
Digital Watchdog DWC-MD421DB User ManualDigital Watchdog DWC-MD421DB User Manual
Digital Watchdog DWC-MD421DB User Manual
 
Digital Watchdog DWC-MD421TIRB User Manual
Digital Watchdog DWC-MD421TIRB User ManualDigital Watchdog DWC-MD421TIRB User Manual
Digital Watchdog DWC-MD421TIRB User Manual
 

Camera2 introdction

  • 2. Camera API History Camera 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 17 Minor (shutterSound enable) Jelly bean 16 Minor (AutoFocus Move Callback) Ice-cream sandwitch 15 Minor (Video Stabilization) Ice-cream sandwitch 14
  • 3. 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.
  • 4. Why Camera 2 Maybe because some Camera1 API limitation  High level black box Operating Modes 1.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
  • 6. Camera 2 improve • More manual control , pipeline model. More feedback
  • 9. Basic block for Camera 2 API
  • 14. Reference Camera 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