Struct MonoCameraProperties

Inheritance Relationships

Base Type

Struct Documentation

struct MonoCameraProperties : public dai::PropertiesSerializable<Properties, MonoCameraProperties>

Specify properties for MonoCamera such as camera ID, …

Public Types

enum class SensorResolution : int32_t

Select the camera sensor resolution: 1280×720, 1280×800, 640×400, 640×480, 1920×1200, …

Values:

enumerator THE_720_P
enumerator THE_800_P
enumerator THE_400_P
enumerator THE_480_P
enumerator THE_1200_P
enumerator THE_4000X3000
enumerator THE_4224X3136

Public Functions

~MonoCameraProperties() override

Public Members

CameraControl initialControl
CameraBoardSocket boardSocket = CameraBoardSocket::AUTO

Which socket will mono camera use

std::string cameraName = ""

Which camera name will mono camera use

CameraImageOrientation imageOrientation = CameraImageOrientation::AUTO

Camera sensor image orientation / pixel readout

SensorResolution resolution = SensorResolution::THE_720_P

Select the camera sensor resolution

int32_t mockIspWidth = AUTO

Select the mock isp width. Overrides resolutionWidth/height if mockIsp is connected.

int32_t mockIspHeight = AUTO

Select the mock isp height. Overrides resolutionWidth/height if mockIsp is connected.

float fps = 30.0

Camera sensor FPS

int isp3aFps = 0

Isp 3A rate (auto focus, auto exposure, auto white balance, camera controls etc.). Default (0) matches the camera FPS, meaning that 3A is running on each frame. Reducing the rate of 3A reduces the CPU usage on CSS, but also increases the convergence rate of 3A. Note that camera controls will be processed at this rate. E.g. if camera is running at 30 fps, and camera control is sent at every frame, but 3A fps is set to 15, the camera control messages will be processed at 15 fps rate, which will lead to queueing.

int numFramesPool = 3

Frame pool size for the main output, ISP processed

int numFramesPoolRaw = 3

Frame pool size for the raw output

std::vector<dai::FrameEvent> eventFilter = {dai::FrameEvent::READOUT_START}

List of events to receive, the rest will be ignored

std::optional<bool> rawPacked

Configures whether the camera raw frames are saved as MIPI-packed to memory. The packed format is more efficient, consuming less memory on device, and less data to send to host: RAW10: 4 pixels saved on 5 bytes, RAW12: 2 pixels saved on 3 bytes. When packing is disabled (false), data is saved lsb-aligned, e.g. a RAW10 pixel will be stored as uint16, on bits 9..0: 0b0000’00pp’pppp’pppp. Default is auto: enabled for standard color/monochrome cameras where ISP can work with both packed/unpacked, but disabled for other cameras like ToF.

Public Static Attributes

static constexpr int AUTO = -1