(self, coords)
| 379 | return ret |
| 380 | |
| 381 | def apply_coords(self, coords): |
| 382 | coords[:, 0] = coords[:, 0] * (self.new_w * 1.0 / self.w) |
| 383 | coords[:, 1] = coords[:, 1] * (self.new_h * 1.0 / self.h) |
| 384 | return coords |
| 385 | |
| 386 | def apply_segmentation(self, segmentation): |
| 387 | segmentation = self.apply_image(segmentation, interp=Image.NEAREST) |
nothing calls this directly
no outgoing calls
no test coverage detected