def get_resizer(self, size, target_size):
        sw, sh = size
        if sw >= sh * self.rate:
            return self.hor_resize
        else:
            return self.vert_resize
dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/unstable/utils/image_resizers.py/ResizeMixed.get_resizer/original