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
- The camera default scene mode.
- CAMERA_SCENE_AUTO
- The system determines the best settings to use to take the picture.
- CAMERA_SCENE_SPORTS
- Use a faster shutter speed.
-
A fast shutter speed allows you to capture images with less motion blur where the subjects are quickly moving, such as sports shots.
- CAMERA_SCENE_WHITEBOARD
- Drop the mid-range tones in an image.
- CAMERA_SCENE_CLOSEUP
- Produce a soft-effect when photographing people.
- CAMERA_SCENE_BUSINESSCARD
- The image is a piece of paper with text on it.
- CAMERA_SCENE_BARCODE
- The image is a barcode.
-
The camera is optimized by the system to recognize the barcode image.
- CAMERA_SCENE_ACTION
- Use a faster shutter speed.
-
A fast shutter speed allows you to capture images with less motion blur where the subjects are quickly moving, such as action shots.
- CAMERA_SCENE_TEST
- Don't apply any post-processing effects.
-
In test mode, pixels are untouched by the image signal processor (ISP) as image optimizations are turned off. This mode is used for factory testing and calibration.
- CAMERA_SCENE_BEACHANDSNOW
- Compensate exposure for bright scenes.
- CAMERA_SCENE_NIGHT
- Compensate exposure for dark scenes.
- CAMERA_SCENE_NUMSCENEMODES
- The total number of supported scene modes.
Library:
libcamapiDescription:
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 use a faster shutter speed for fast-moving objects. You can use the camera_get_scene_modes() function to determine which modes are supported for the current platform and camera.