5.3.4.82. Function image_color_draw_bounding_box

5.3.4.82.1. Function Documentation

void image_color_draw_bounding_box(img_data_t *img_data, int ymin, int ymax, int xmin, int xmax, int border, rgb8_t color, int is_dashed)

Draw a bounding box (BB) on a color image.

Parameters
  • img_data – Image data.

  • ymin – First \(y\) index of the bounding box (included).

  • ymax – Last \(y\) index of the bounding box (included).

  • xmin – First \(x\) index of the bounding box (included).

  • xmax – Last \(x\) index of the bounding box (included).

  • border – Thickness of the bounding box.

  • color – Color of the bounding box.

  • is_dashed – Boolean to draw dashed lines.