5 #include "depthai/depthai.hpp" 7 #include <depthai_ros_msgs/msg/spatial_detection_array.hpp> 9 #include "rclcpp/rclcpp.hpp" 11 #include <depthai_ros_msgs/SpatialDetectionArray.h> 14 #include <boost/make_shared.hpp> 15 #include <boost/shared_ptr.hpp> 23 namespace SpatialMessages = depthai_ros_msgs::msg;
26 namespace SpatialMessages = depthai_ros_msgs;
34 void toRosMsg(std::shared_ptr<dai::SpatialImgDetections> inNetData, std::deque<SpatialMessages::SpatialDetectionArray>& opDetectionMsg);
void toRosMsg(std::shared_ptr< dai::SpatialImgDetections > inNetData, std::deque< SpatialMessages::SpatialDetectionArray > &opDetectionMsg)
const std::string _frameName
SpatialDetectionArrayPtr toRosMsgPtr(std::shared_ptr< dai::SpatialImgDetections > inNetData)
SpatialDetectionConverter(std::string frameName, int width, int height, bool normalized=false)
SpatialMessages::SpatialDetectionArray::Ptr SpatialDetectionArrayPtr