SSD
SSD copied to clipboard
How to change the thickness of prediction box
Hi,Thanks for your job Because the feature box of the predicted image output from demo is too thin, it is difficult to see the box clearly,So I would like to ask how to change the thickness of the box. Thank you for your help
Just pass a width parameter with the desired value in the draw_boxes
function.
Like this in the demo.py
file.
90 drawn_image = draw_boxes(image, boxes, labels,
91 scores, class_names, width=20).astype(np.uint8)