Class Thermal
Defined in File Thermal.hpp
Inheritance Relationships
Base Type
public dai::DeviceNodeCRTP< DeviceNode, Thermal, ThermalProperties >(Template Class DeviceNodeCRTP)
Class Documentation
-
class Thermal : public dai::DeviceNodeCRTP<DeviceNode, Thermal, ThermalProperties>
Thermal node.
Public Functions
-
Thermal() = default
-
Thermal(std::unique_ptr<Properties> props)
-
std::shared_ptr<Thermal> build(dai::CameraBoardSocket boardSocket = dai::CameraBoardSocket::AUTO, float fps = 25)
Build with a specific board socket and fps.
-
CameraBoardSocket getBoardSocket() const
Retrieves which board socket to use
- Returns:
Board socket to use
-
void setFps(float fps)
-
inline DeviceNodeCRTP()
-
inline DeviceNodeCRTP(std::unique_ptr<Properties> props)
-
inline DeviceNodeCRTP(std::unique_ptr<Properties> props, bool confMode)
Public Members
-
std::shared_ptr<ThermalConfig> initialConfig = std::make_shared<ThermalConfig>()
Initial config to use for thermal sensor.
-
Input inputConfig{*this, {"inputConfig", DEFAULT_GROUP, DEFAULT_BLOCKING, DEFAULT_QUEUE_SIZE, {{{DatatypeEnum::ThermalConfig, false}}}, DEFAULT_WAIT_FOR_MESSAGE}}
Input ThermalConfig message with ability to modify parameters in runtime. Default queue is non-blocking with size 4.
-
Output temperature = {*this, {"temperature", DEFAULT_GROUP, {{{DatatypeEnum::ImgFrame, false}}}}}
Outputs FP16 (degC) thermal image.
-
Output color = {*this, {"color", DEFAULT_GROUP, {{{DatatypeEnum::ImgFrame, false}}}}}
Outputs YUV422i grayscale thermal image.
Public Static Attributes
-
static constexpr const char *NAME = "Thermal"
Protected Functions
-
virtual Properties &getProperties()
-
Thermal() = default