Public Types | Public Attributes | Static Public Attributes | List of all members
dai::MonoCameraProperties Struct Reference

#include <MonoCameraProperties.hpp>

Inheritance diagram for dai::MonoCameraProperties:
Inheritance graph
[legend]

Public Types

enum  SensorResolution : int32_t {
  SensorResolution::THE_720_P, SensorResolution::THE_800_P, SensorResolution::THE_400_P, SensorResolution::THE_480_P,
  SensorResolution::THE_1200_P
}
 

Public Attributes

CameraBoardSocket boardSocket = CameraBoardSocket::AUTO
 
std::string cameraName = ""
 
std::vector< dai::FrameEventeventFilter = {dai::FrameEvent::READOUT_START}
 
float fps = 30.0
 
CameraImageOrientation imageOrientation = CameraImageOrientation::AUTO
 
RawCameraControl initialControl
 
int isp3aFps = 0
 
int numFramesPool = 3
 
int numFramesPoolRaw = 3
 
tl::optional< bool > rawPacked
 
SensorResolution resolution = SensorResolution::THE_720_P
 

Static Public Attributes

static constexpr int AUTO = -1
 

Additional Inherited Members

- Public Member Functions inherited from dai::PropertiesSerializable< Properties, MonoCameraProperties >
virtual std::unique_ptr< Propertiesclone () const override
 
virtual void serialize (std::vector< std::uint8_t > &data, SerializationType type=SerializationType::LIBNOP) const override
 
- Public Member Functions inherited from dai::Properties
virtual std::unique_ptr< Propertiesclone () const =0
 
virtual ~Properties ()=default
 

Detailed Description

Specify properties for MonoCamera such as camera ID, ...

Definition at line 17 of file MonoCameraProperties.hpp.

Member Enumeration Documentation

◆ SensorResolution

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

Enumerator
THE_720_P 
THE_800_P 
THE_400_P 
THE_480_P 
THE_1200_P 

Definition at line 23 of file MonoCameraProperties.hpp.

Member Data Documentation

◆ AUTO

constexpr int dai::MonoCameraProperties::AUTO = -1
staticconstexpr

Definition at line 18 of file MonoCameraProperties.hpp.

◆ boardSocket

CameraBoardSocket dai::MonoCameraProperties::boardSocket = CameraBoardSocket::AUTO

Which socket will mono camera use

Definition at line 33 of file MonoCameraProperties.hpp.

◆ cameraName

std::string dai::MonoCameraProperties::cameraName = ""

Which camera name will mono camera use

Definition at line 38 of file MonoCameraProperties.hpp.

◆ eventFilter

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

List of events to receive, the rest will be ignored

Definition at line 73 of file MonoCameraProperties.hpp.

◆ fps

float dai::MonoCameraProperties::fps = 30.0

Camera sensor FPS

Definition at line 52 of file MonoCameraProperties.hpp.

◆ imageOrientation

CameraImageOrientation dai::MonoCameraProperties::imageOrientation = CameraImageOrientation::AUTO

Camera sensor image orientation / pixel readout

Definition at line 43 of file MonoCameraProperties.hpp.

◆ initialControl

RawCameraControl dai::MonoCameraProperties::initialControl

Definition at line 28 of file MonoCameraProperties.hpp.

◆ isp3aFps

int dai::MonoCameraProperties::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.

Definition at line 61 of file MonoCameraProperties.hpp.

◆ numFramesPool

int dai::MonoCameraProperties::numFramesPool = 3

Frame pool size for the main output, ISP processed

Definition at line 65 of file MonoCameraProperties.hpp.

◆ numFramesPoolRaw

int dai::MonoCameraProperties::numFramesPoolRaw = 3

Frame pool size for the raw output

Definition at line 69 of file MonoCameraProperties.hpp.

◆ rawPacked

tl::optional<bool> dai::MonoCameraProperties::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.

Definition at line 84 of file MonoCameraProperties.hpp.

◆ resolution

SensorResolution dai::MonoCameraProperties::resolution = SensorResolution::THE_720_P

Select the camera sensor resolution

Definition at line 48 of file MonoCameraProperties.hpp.


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


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20