Enable Segmentation in Ros2Camera plugin in webots_ros2 #763
-
Does the webots_ros2_driver Ros2Camera supportes enabling and publishing segmentation results? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can enable camera recognition in the URDF file ( You can get more information about camera segmentation in the Reference Manual of Webots |
Beta Was this translation helpful? Give feedback.
You can enable camera recognition in the URDF file (
<device>
tag) and two topics will be published:/topicName/recognitions
and/topicName/recognitions/webots
. They respectively receive a list of the positions of detected objects on the image and a list of detailed information about each detected objects, including its pose. In case you are interested about the segmentation image, the plugin must be enhanced, as it currently doesn't enable segmentation and doesn't publish the segmentation image. If you open a PR to implement it, we would be happy to review it.You can get more information about camera segmentation in the Reference Manual of Webots