leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.19k stars 1.18k forks source link

Visualize detection_image in other computer. Is it possible? #367

Open grafoteka opened 2 years ago

grafoteka commented 2 years ago

Hi all,

I can run darknet_ros with YOLO v3 in a Nvidia Xavier, but I would like to visualize the image with the bounding boxes in another computer.

I have configure the two computers with a multi-ros configuration (master = laptop, slave = xavier), I can also read all the topics from the master, the object detector and the bounding boxes topics, but when I subscribe to the detecion image topic, I only see the image, but with no bounding boxes.

Is there any option to visualize it correctly?

image

Thank you

lawliet1997 commented 2 years ago

May I know which camera you are using to view the image. I am using raspberry pie camera and I am having hard time publishing the image and cannot view it in YOLO after I launch the roslaunch darknet_ros Yolo_v3.launch . And to answer your question, I think you need to open up the rviz and can view the detected objects there.