Class SpatialLocationCalculator
Defined in File SpatialLocationCalculator.hpp
Inheritance Relationships
Base Type
public dai::DeviceNodeCRTP< DeviceNode, SpatialLocationCalculator, SpatialLocationCalculatorProperties >(Template Class DeviceNodeCRTP)
Class Documentation
-
class SpatialLocationCalculator : public dai::DeviceNodeCRTP<DeviceNode, SpatialLocationCalculator, SpatialLocationCalculatorProperties>
SpatialLocationCalculator node. Calculates spatial location data on a set of ROIs on depth map.
Public Functions
-
SpatialLocationCalculator() = default
-
SpatialLocationCalculator(std::unique_ptr<Properties> props)
-
inline DeviceNodeCRTP()
-
inline DeviceNodeCRTP(std::unique_ptr<Properties> props)
-
inline DeviceNodeCRTP(std::unique_ptr<Properties> props, bool confMode)
Public Members
-
std::shared_ptr<SpatialLocationCalculatorConfig> initialConfig = std::make_shared<SpatialLocationCalculatorConfig>()
Initial config to use when calculating spatial location data.
-
Input inputConfig = {*this, {"inputConfig", DEFAULT_GROUP, false, 4, {{{DatatypeEnum::SpatialLocationCalculatorConfig, false}}}, DEFAULT_WAIT_FOR_MESSAGE}}
Input SpatialLocationCalculatorConfig message with ability to modify parameters in runtime. Default queue is non-blocking with size 4.
-
Input inputDepth = {*this, {"inputDepth", DEFAULT_GROUP, false, 4, {{{DatatypeEnum::ImgFrame, false}}}, DEFAULT_WAIT_FOR_MESSAGE}}
Input message with depth data used to retrieve spatial information about detected object. Default queue is non-blocking with size 4.
-
Output out = {*this, {"out", DEFAULT_GROUP, {{{DatatypeEnum::SpatialLocationCalculatorData, false}}}}}
Outputs SpatialLocationCalculatorData message that carries spatial location results.
-
Output passthroughDepth = {*this, {"passthroughDepth", DEFAULT_GROUP, {{{DatatypeEnum::ImgFrame, false}}}}}
Passthrough message on which the calculation was performed. Suitable for when input queue is set to non-blocking behavior.
Public Static Attributes
-
static constexpr const char *NAME = "SpatialLocationCalculator"
Protected Functions
-
virtual Properties &getProperties()
-
SpatialLocationCalculator() = default