📅  最后修改于: 2022-03-11 14:45:24.020000             🧑  作者: Mango
1 from cv_bridge import CvBridge
2 bridge = CvBridge()
3 image_message = bridge.cv2_to_imgmsg(cv_image, encoding="passthrough")
# we can turn on an terminal and ros to see the result
rosrun image_view imageiew image:=/imagetimer # imagetimer, topic when public infor