bob.ip.draw_box¶
-
bob.ip.draw_box((object)image, (int)x, (int)y, (int)width, (int)height, (object)color) → None :¶ Draws a box at the image using the draw_line() primitive. This method supports both grayscale (2D) or color RGB (3D) images. Depending on your image type, select an appropriate color value: a single gray value for 2D grayscale images or a 3-tuple containing the RGB color to set during drawing.