(self, file_path)
| 119 | |
| 120 | |
| 121 | def load_image(self, file_path): |
| 122 | image = Image.open(file_path).convert("RGB") |
| 123 | image = self.crop_and_resize(image, *self.get_height_width(image)) |
| 124 | return image |
| 125 | |
| 126 | |
| 127 | def load_data(self, file_path): |
no test coverage detected