def test_overlay_instances_no_boxes(self):
    (img, boxes, labels, polygons, _) = self._random_data()
    v = Visualizer(img, self.metadata)
    v.overlay_instances(masks=polygons, boxes=None, labels=labels).get_image()
def test_overlay_instances_no_boxes(self):
    (img, boxes, labels, polygons, _) = self._random_data()
    v = Visualizer(img, self.metadata)
    v.overlay_instances(masks=polygons, boxes=None, labels=labels).get_image()