Struct ColorCameraProperties
Defined in File ColorCameraProperties.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public dai::PropertiesSerializable< Properties, ColorCameraProperties >(Template Struct PropertiesSerializable)
Struct Documentation
-
struct ColorCameraProperties : public dai::PropertiesSerializable<Properties, ColorCameraProperties>
Specify properties for ColorCamera such as camera ID, …
Public Types
-
enum class SensorResolution : int32_t
Select the camera sensor resolution
Values:
-
enumerator THE_1080_P
1920 × 1080
-
enumerator THE_4_K
3840 × 2160
-
enumerator THE_12_MP
4056 × 3040
-
enumerator THE_13_MP
4208 × 3120
-
enumerator THE_720_P
1280 × 720
-
enumerator THE_800_P
1280 × 800
-
enumerator THE_1200_P
1920 × 1200
-
enumerator THE_5_MP
2592 × 1944
-
enumerator THE_4000X3000
4000 × 3000
-
enumerator THE_5312X6000
5312 × 6000
-
enumerator THE_48_MP
8000 × 6000
-
enumerator THE_240X180
240 x 180
-
enumerator THE_1280X962
1280 x 962
-
enumerator THE_2000X1500
2000 × 1500
-
enumerator THE_2028X1520
2028 × 1520
-
enumerator THE_2104X1560
2104 × 1560
-
enumerator THE_1440X1080
1440 × 1080
-
enumerator THE_1352X1012
1352 × 1012
-
enumerator THE_2024X1520
2024 × 1520
-
enumerator THE_1080_P
Public Functions
-
~ColorCameraProperties() override
Public Members
-
CameraControl initialControl
-
CameraBoardSocket boardSocket = CameraBoardSocket::AUTO
Which socket will color camera use
-
std::string cameraName = ""
Which camera name will color camera use
-
CameraImageOrientation imageOrientation = CameraImageOrientation::AUTO
Camera sensor image orientation / pixel readout
-
uint32_t previewHeight = 300
Preview frame output height
-
uint32_t previewWidth = 300
Preview frame output width
-
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.
-
SensorResolution resolution = SensorResolution::THE_1080_P
Select the camera sensor resolution
-
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.
-
bool previewKeepAspectRatio = true
Whether to keep aspect ratio of input (video size) or not
-
int numFramesPoolRaw = 3
Pool sizes
-
int numFramesPoolIsp = 3
-
int numFramesPoolVideo = 4
-
int numFramesPoolPreview = 4
-
int numFramesPoolStill = 4
-
WarpMeshSource warpMeshSource = WarpMeshSource::AUTO
-
std::string warpMeshUri = ""
-
int warpMeshWidth
-
int warpMeshHeight
-
float calibAlpha = 1.0f
-
int warpMeshStepWidth = 32
-
int warpMeshStepHeight = 32
-
std::vector<dai::FrameEvent> eventFilter = {dai::FrameEvent::READOUT_START}
-
std::optional<bool> rawPacked
Configures whether the camera
rawframes 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
-
struct IspScale
Public Functions
-
DEPTHAI_SERIALIZE(IspScale, horizNumerator, horizDenominator, vertNumerator, vertDenominator)
-
DEPTHAI_SERIALIZE(IspScale, horizNumerator, horizDenominator, vertNumerator, vertDenominator)
-
enum class SensorResolution : int32_t