3 #include <depthai/depthai.hpp> 7 #include <vision_msgs/msg/detection2_d_array.hpp> 9 #include "rclcpp/rclcpp.hpp" 12 #include <vision_msgs/Detection2DArray.h> 14 #include <boost/make_shared.hpp> 15 #include <boost/shared_ptr.hpp> 34 void toRosMsg(std::shared_ptr<dai::ImgDetections> inNetData, std::deque<VisionMsgs::Detection2DArray>& opDetectionMsgs);
ImgDetectionConverter(std::string frameName, int width, int height, bool normalized=false)
const std::string _frameName
VisionMsgs::Detection2DArray::Ptr Detection2DArrayPtr
Detection2DArrayPtr toRosMsgPtr(std::shared_ptr< dai::ImgDetections > inNetData)
void toRosMsg(std::shared_ptr< dai::ImgDetections > inNetData, std::deque< VisionMsgs::Detection2DArray > &opDetectionMsgs)