Updated: October 28, 2024 |
The focus mode of the camera
#include <camera/camera_3a.h>
typedef enum { CAMERA_FOCUSMODE_OFF = 0, CAMERA_FOCUSMODE_EDOF, CAMERA_FOCUSMODE_MANUAL, CAMERA_FOCUSMODE_AUTO, CAMERA_FOCUSMODE_MACRO, CAMERA_FOCUSMODE_CONTINUOUS_AUTO, CAMERA_FOCUSMODE_CONTINUOUS_MACRO, CAMERA_FOCUSMODE_NUMFOCUSMODES } camera_focusmode_t;
Single-cycle focus occurs once and then stops.
Single-cycle focus occurs once and then stops.
The autofocus algorithm restarts if the scene goes out of focus.
The autofocus algorithm restarts if the scene goes out of focus.
Use camera_get_focus_modes() to determine the focus modes that are supported by the current platform and camera.