OpenCV和ROS Image互转,不依赖cv_bridge
OpenCV和ROS Image互转,非cv_bridge版C++版#ifndef IMAGE_CONVERTOR_HPP#define IMAGE_CONVERTOR_HPP#include "sensor_msgs/Image.h"#include "opencv2/opencv.hpp"#include "ros/ros.h"#include <memory>int GetType(std::string type);std::string GetType(int
原创
2021-05-10 09:24:33 ·
689 阅读 ·
0 评论