Skip to content

Latest commit

 

History

History

camera

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Goal

Demonstrate how to use manual controls like -

  • exposureMode to control exposureTime
  • focusMode to control focusDistance
  • ISO
  • WhiteBalance
  • Color temperature, contrast, saturation.

Motivation

Image Capture API has an API for setting exposureMode to manual, but it is not very useful if the exposure time (aka shutter speed, aka exposure duration) cannot be set in manual exposure mode. This API provides an interface for getting the exposure time range values as well as setting the exposure time in time units.

Shutter speed needs to be controlled to take low-light pictures or create motion-blur effects. This can also be used to create HDR images.

Image Capture API also has an API for setting focusMode to manual, but it is not very useful if the focus distance cannot be set. This API provides an interface for getting focus range values as well as setting focus distance value.

This can be used to create Depth of Field or "bokeh" effect, and will also be useful for Focus Stacking.

Implementation information for other properties can be found in here.

Useful Links

Chromium Implementation: Intent to Implement and Ship: exposureTime and focusDistance

Crbug: exposureTime and focusDistance

W3C Spec: exposureTime and focusDistance