def preprocess(self, image):
    return cv2.resize(image, (self.width, self.height), interpolation=self.inter)
def preprocess(self, image):
    return cv2.resize(image, (self.width, self.height), interpolation=self.inter)