Struct CameraFeatures
Defined in File CameraFeatures.hpp
Struct Documentation
-
struct CameraFeatures
CameraFeatures structure
Characterizes detected cameras on board
Public Functions
-
DEPTHAI_SERIALIZE(CameraFeatures, socket, sensorName, width, height, orientation, supportedTypes, hasAutofocusIC, hasAutofocus, name, additionalNames, configs, calibrationResolution)
Public Members
-
CameraBoardSocket socket = CameraBoardSocket::AUTO
Board socket where the camera was detected
-
std::string sensorName
Camera sensor name, e.g: “IMX378”, “OV9282”
-
std::int32_t width = -1
Maximum sensor resolution
-
std::int32_t height = -1
-
CameraImageOrientation orientation = CameraImageOrientation::AUTO
Default camera orientation, board dependent
-
std::vector<CameraSensorType> 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
-
bool hasAutofocusIC = false
Whether an autofocus VCM IC was detected
-
bool hasAutofocus = false
Whether camera has auto focus capabilities, or is a fixed focus lens
-
std::string name
Camera name or alias
-
std::vector<std::string> additionalNames
Additional camera names or aliases
-
std::vector<CameraSensorConfig> configs
Available sensor configs
-
std::optional<CameraSensorConfig> calibrationResolution = std::nullopt
-
DEPTHAI_SERIALIZE(CameraFeatures, socket, sensorName, width, height, orientation, supportedTypes, hasAutofocusIC, hasAutofocus, name, additionalNames, configs, calibrationResolution)