|
blace.ai
|
#include <public_ops.h>
Public Member Functions | |
| DrawRectangles (blace::ops::OpP img, blace::ops::OpP bounding_boxes, int r, int g, int b, int thickness) | |
Constructs an operator to draw rectangles. Rectangles must come in format Bx4.
| blace::ops::DrawRectangles::DrawRectangles | ( | blace::ops::OpP | img, |
| blace::ops::OpP | bounding_boxes, | ||
| int | r, | ||
| int | g, | ||
| int | b, | ||
| int | thickness | ||
| ) |
Constructs a rectangle-drawing operator.
| img | The img to draw the rectangles onto. |
| bounding_boxes | Node containing the rectangles, shape Bx4. |
| r | Red part of the color, 0-255. |
| g | Green part of the color, 0-255. |
| b | Blue part of the color, 0-255. |
| thickness | Thickness of the lines in pixels. |