(self, crop_size, final_size, crop_center_x_offset, \
crop_center_y_offset, scale_aug, trans_aug, flip=-1, \
mask_aug=0, half=0)
| 51 | |
| 52 | class FaceAugmentationCV2(object): |
| 53 | def __init__(self, crop_size, final_size, crop_center_x_offset, \ |
| 54 | crop_center_y_offset, scale_aug, trans_aug, flip=-1, \ |
| 55 | mask_aug=0, half=0): |
| 56 | self.crop_size = crop_size |
| 57 | self.final_size = final_size |
| 58 | self.crop_center_y_offset = crop_center_y_offset |
| 59 | self.crop_center_x_offset = crop_center_x_offset |
| 60 | self.scale_aug = scale_aug |
| 61 | self.trans_aug = trans_aug |
| 62 | self.flip = flip |
| 63 | self.mask_aug = mask_aug |
| 64 | self.half = half |
| 65 | |
| 66 | def __call__(self, img): |
| 67 | ## transform |
nothing calls this directly
no outgoing calls
no test coverage detected