(self)
| 109 | v.draw_instance_predictions(inst) |
| 110 | |
| 111 | def test_correct_output_shape(self): |
| 112 | img = np.random.rand(928, 928, 3) * 255 |
| 113 | v = Visualizer(img, self.metadata) |
| 114 | out = v.output.get_image() |
| 115 | self.assertEqual(out.shape, img.shape) |
| 116 | |
| 117 | def test_overlay_rotated_instances(self): |
| 118 | H, W = 100, 150 |
nothing calls this directly
no test coverage detected