(self, img: np.ndarray)
| 155 | self._set_attributes(locals()) |
| 156 | |
| 157 | def apply_image(self, img: np.ndarray) -> np.ndarray: |
| 158 | return cv2.warpPerspective(img, self.M, dsize=(self.width, self.height), flags=cv2.INTER_LINEAR, borderValue=self.border_value) # BGR order borderValue |
| 159 | |
| 160 | def apply_coords(self, coords: np.ndarray) -> np.ndarray: |
| 161 | return coords |
nothing calls this directly
no outgoing calls
no test coverage detected