mgonzs13 / yolo_ros

Ultralytics YOLOv8, YOLOv9, YOLOv10, YOLOv11 for ROS 2
GNU General Public License v3.0
366 stars 93 forks source link

Visualizing in Rviz #54

Open BingPeng0 opened 1 month ago

BingPeng0 commented 1 month ago

Hi. I have managed to run the code and can view it by subscribing to the yolo/dbg_image. But I wanted to ask how can I visualize the 3D image in the Rviz world like what is shown in the demo.

mgonzs13 commented 1 month ago

@BingPeng0 You can use the marker visualization to show the 3D boxes.

BingPeng0 commented 1 month ago

Sorry I still dont understand as I am quite new in ROS. Do I have to make another node to run the marker visualization or there is already topic being published provided in the yolov8 launch file.

mgonzs13 commented 4 weeks ago

In rviz, using the Add button and then the By topic, you should see a marker topic. Adding it will visualize the 3D boxes.