Public Member Functions | Public Attributes | List of all members
dai::CameraFeatures Struct Reference

#include <CameraFeatures.hpp>

Public Member Functions

 DEPTHAI_SERIALIZE (CameraFeatures, socket, sensorName, width, height, orientation, supportedTypes, hasAutofocusIC, hasAutofocus, name, additionalNames, configs, calibrationResolution)
 

Public Attributes

std::vector< std::string > additionalNames
 
tl::optional< CameraSensorConfigcalibrationResolution = tl::nullopt
 
std::vector< CameraSensorConfigconfigs
 
bool hasAutofocus = false
 
bool hasAutofocusIC = false
 
std::int32_t height = -1
 
std::string name
 
CameraImageOrientation orientation = CameraImageOrientation::AUTO
 
std::string sensorName
 
CameraBoardSocket socket = CameraBoardSocket::AUTO
 
std::vector< CameraSensorTypesupportedTypes
 
std::int32_t width = -1
 

Detailed Description

CameraFeatures structure

Characterizes detected cameras on board

Definition at line 30 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

Member Function Documentation

◆ DEPTHAI_SERIALIZE()

dai::CameraFeatures::DEPTHAI_SERIALIZE ( CameraFeatures  ,
socket  ,
sensorName  ,
width  ,
height  ,
orientation  ,
supportedTypes  ,
hasAutofocusIC  ,
hasAutofocus  ,
name  ,
additionalNames  ,
configs  ,
calibrationResolution   
)

Member Data Documentation

◆ additionalNames

std::vector<std::string> dai::CameraFeatures::additionalNames

Additional camera names or aliases

Definition at line 69 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ calibrationResolution

tl::optional<CameraSensorConfig> dai::CameraFeatures::calibrationResolution = tl::nullopt

The resolution which should be used for calibration.

Definition at line 78 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ configs

std::vector<CameraSensorConfig> dai::CameraFeatures::configs

Available sensor configs

Definition at line 73 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ hasAutofocus

bool dai::CameraFeatures::hasAutofocus = false

Whether camera has auto focus capabilities, or is a fixed focus lens

Definition at line 61 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ hasAutofocusIC

bool dai::CameraFeatures::hasAutofocusIC = false

Whether an autofocus VCM IC was detected

Definition at line 57 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ height

std::int32_t dai::CameraFeatures::height = -1

◆ name

std::string dai::CameraFeatures::name

Camera name or alias

Definition at line 65 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ orientation

CameraImageOrientation dai::CameraFeatures::orientation = CameraImageOrientation::AUTO

Default camera orientation, board dependent

Definition at line 46 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ sensorName

std::string dai::CameraFeatures::sensorName

Camera sensor name, e.g: "IMX378", "OV9282"

Definition at line 38 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ socket

CameraBoardSocket dai::CameraFeatures::socket = CameraBoardSocket::AUTO

Board socket where the camera was detected

Definition at line 34 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ supportedTypes

std::vector<CameraSensorType> dai::CameraFeatures::supportedTypes

List of supported types of processing for the given camera.

For some sensors it's not possible to determine if they are color or mono (e.g. OV9782 and OV9282), so this could return more than one entry

Definition at line 53 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.

◆ width

std::int32_t dai::CameraFeatures::width = -1

Maximum sensor resolution

Definition at line 42 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.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