esp32cam
OV2640 camera on ESP32-CAM
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
esp32cam::Settings Struct Reference

Camera runtime settings. More...

#include <config.hpp>

Public Attributes

Resolution resolution
 Picture resolution. More...
 
int8_t brightness
 Image brightness, between -2 and +2. More...
 
int8_t contrast
 Image contrast, between -2 and +2. More...
 
int8_t saturation
 Image saturation, between -2 and +2. More...
 
int8_t gain
 Gain control, with or without Automatic Gain Control (AGC). More...
 
LightMode lightMode
 Image light mode. More...
 
SpecialEffect specialEffect
 Image special effect. More...
 
bool hmirror = false
 Horizontal flip. More...
 
bool vflip = false
 Vertical flip. More...
 
bool rawGma = false
 Raw gamma mode. More...
 
bool lensCorrection = false
 Lens correction mode. More...
 

Detailed Description

Camera runtime settings.

Member Data Documentation

◆ brightness

int8_t esp32cam::Settings::brightness

Image brightness, between -2 and +2.

◆ contrast

int8_t esp32cam::Settings::contrast

Image contrast, between -2 and +2.

◆ gain

int8_t esp32cam::Settings::gain

Gain control, with or without Automatic Gain Control (AGC).

  • AGC disabled: a positive number between 1 and 31, which corresponds to 1x ~ 31x gain.
  • AGC enabled: -2,-4,-8,-16,-32,-64,-128, which corresponds to 2x ~ 128x gain.

◆ hmirror

bool esp32cam::Settings::hmirror = false

Horizontal flip.

◆ lensCorrection

bool esp32cam::Settings::lensCorrection = false

Lens correction mode.

◆ lightMode

LightMode esp32cam::Settings::lightMode

Image light mode.

◆ rawGma

bool esp32cam::Settings::rawGma = false

Raw gamma mode.

◆ resolution

Resolution esp32cam::Settings::resolution

Picture resolution.

◆ saturation

int8_t esp32cam::Settings::saturation

Image saturation, between -2 and +2.

◆ specialEffect

SpecialEffect esp32cam::Settings::specialEffect

Image special effect.

◆ vflip

bool esp32cam::Settings::vflip = false

Vertical flip.


The documentation for this struct was generated from the following file: