def METHOD_NAME(self, img_path):
    input_image = Image.open(img_path).convert('RGB')
    input_tensor = preprocess(input_image)
    input_tensor = input_tensor.detach().cpu().numpy()
    return input_tensor