draw_boxes#
- draw_boxes(x: torch.Tensor, y: BoxList, class_names: Sequence[str], class_colors: Sequence[str]) torch.Tensor [source]#
Given an image and a BoxList, draw the boxes in the BoxList on the image.
- Parameters
- Return type
Given an image and a BoxList, draw the boxes in the BoxList on the image.