#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< CameraSensorConfig > | calibrationResolution = tl::nullopt |
std::vector< CameraSensorConfig > | configs |
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< CameraSensorType > | supportedTypes |
std::int32_t | width = -1 |
CameraFeatures structure
Characterizes detected cameras on board
Definition at line 30 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.
dai::CameraFeatures::DEPTHAI_SERIALIZE | ( | CameraFeatures | , |
socket | , | ||
sensorName | , | ||
width | , | ||
height | , | ||
orientation | , | ||
supportedTypes | , | ||
hasAutofocusIC | , | ||
hasAutofocus | , | ||
name | , | ||
additionalNames | , | ||
configs | , | ||
calibrationResolution | |||
) |
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.
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.
std::vector<CameraSensorConfig> dai::CameraFeatures::configs |
Available sensor configs
Definition at line 73 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.
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.
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.
std::int32_t dai::CameraFeatures::height = -1 |
Definition at line 42 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.
std::string dai::CameraFeatures::name |
Camera name or alias
Definition at line 65 of file shared/depthai-shared/include/depthai-shared/common/CameraFeatures.hpp.
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.
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.
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.
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.
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.