SSD icon indicating copy to clipboard operation
SSD copied to clipboard

modify the color of the detection box

Open Rock-L21 opened this issue 4 years ago • 2 comments

What should I do if I want to modify the color of the detection box in the demo.py output image?

Rock-L21 avatar Apr 23 '21 15:04 Rock-L21

The author has disabled the color parameter in the draw_boxes function from their Vizer library if you check here I'd say create your own function to draw the bounding boxes which should be pretty straightforward or use the _draw_single_box function from the vizer library to iterate through the boxes and use custom colors

SamSamhuns avatar Apr 28 '21 11:04 SamSamhuns

The author has disabled the color parameter in the draw_boxes function from their Vizer library if you check here I'd say create your own function to draw the bounding boxes which should be pretty straightforward or use the _draw_single_box function from the vizer library to iterate through the boxes and use custom colors

Thank you very much!

Rock-L21 avatar Apr 28 '21 11:04 Rock-L21