Thermal
The Thermal node allows capturing both raw and colorized thermal frames from supported DepthAI devices equipped with a thermal sensor (OAK Thermal). The node supports dynamic runtime configuration of imaging parameters, flat field correction (FFC), gain modes and ambient compensation.This node outputs:- Raw temperature data per pixel as FP16 in °C
- Visualization stream for live preview (YUV422i format)
How to place it
Python
C++
Python
Python
1pipeline = dai.Pipeline()
2thermal = pipeline.create(dai.node.Thermal)Inputs and Outputs
Examples of functionality
Reference
class
dai::node::Thermal
variable
std::shared_ptr< ThermalConfig > initialConfig
Initial config to use for thermal sensor.
variable
Input inputConfig
Input ThermalConfig message with ability to modify parameters in runtime. Default queue is non-blocking with size 4.
variable
Output temperature
Outputs FP16 (degC) thermal image.
variable
Output color
Outputs YUV422i grayscale thermal image.
function
Thermal()function
Thermal(std::unique_ptr< Properties > props)function
std::shared_ptr< Thermal > build(dai::CameraBoardSocket boardSocket, float fps)Build with a specific board socket and fps.
function
CameraBoardSocket getBoardSocket()Retrieves which board socket to use
Returns
Board socket to use
function
void setFps(float fps)inline function
DeviceNodeCRTP()inline function
DeviceNodeCRTP(const std::shared_ptr< Device > & device)inline function
DeviceNodeCRTP(std::unique_ptr< Properties > props)inline function
DeviceNodeCRTP(std::unique_ptr< Properties > props, bool confMode)inline function
DeviceNodeCRTP(const std::shared_ptr< Device > & device, std::unique_ptr< Properties > props, bool confMode)Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.