camera_scenemode_t

The type of scene mode to use for the camera.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_SCENE_DEFAULT = 0   
      CAMERA_SCENE_AUTO   
      CAMERA_SCENE_SPORTS   
      CAMERA_SCENE_WHITEBOARD   
      CAMERA_SCENE_CLOSEUP   
      CAMERA_SCENE_BUSINESSCARD   
      CAMERA_SCENE_BARCODE   
      CAMERA_SCENE_ACTION   
      CAMERA_SCENE_TEST   
      CAMERA_SCENE_BEACHANDSNOW   
      CAMERA_SCENE_NIGHT   
      CAMERA_SCENE_NUMSCENEMODES   
} camera_scenemode_t;

Data:

CAMERA_SCENE_DEFAULT
Indicates to use the camera default scene mode.
CAMERA_SCENE_AUTO
Indicates to allow the system determine the best settings to use to take the picture.
CAMERA_SCENE_SPORTS
Indicates to use a faster shutter speed.

A fast shutter speed allows you to capture images where the subjects are quickly moving, such as sports shots.

CAMERA_SCENE_WHITEBOARD
Indicates to drop the mid-range tones in image before saving it.
CAMERA_SCENE_CLOSEUP
Indicates to produce a soft effect when photographing people.
CAMERA_SCENE_BUSINESSCARD
Indicates to the system that the image is a piece of paper with text on it.
CAMERA_SCENE_BARCODE
Indicates to the system that the image is a barcode.

The camera is optimized by the system to recognize the barcode image.

CAMERA_SCENE_ACTION
Indicates to use a faster shutter speed.

A fast shutter speed allows you to capture images where the subjects are quickly moving, such as action shots.

CAMERA_SCENE_TEST
Indicates to not apply any post-processing effects.

In test mode, pixels are untouched by the ISP as image optimizations are turned off. This is used for manufacturing tests and calibration.

CAMERA_SCENE_BEACHANDSNOW
Indicates to compensate exposure for bright scenes.
CAMERA_SCENE_NIGHT
Indicates to compensate exposure for dark scenes.
CAMERA_SCENE_NUMSCENEMODES
Indicates the total number of supported scene modes.

Use camera_get_scene_modes() to determine which modes are supported for the current platform and camera.

Library:

libcamapi

Description:

Scene modes specify the camera settings to use, effects, and predefined visual styles applied by the camera hardware to achieve a specific image result. For example, you can specify to use a faster shutter speed for fast moving objects.