webots icon indicating copy to clipboard operation
webots copied to clipboard

Recognition segmentation image: add API function to set the background color

Open stefaniapedrazzi opened this issue 4 years ago • 0 comments

Add a new Camera API function to set the background color of the segmented image. Something like: wb_camera_recognition_set_segmentation_background_color(WbDeviceTag tag, int color)

The color would have the same format for example as in the Display API: https://www.cyberbotics.com/doc/reference/display#wb_display_set_color

Default color will be black.

stefaniapedrazzi avatar Oct 28 '20 10:10 stefaniapedrazzi