(self,
brightness_delta=32,
contrast_range=(0.5, 1.5),
saturation_range=(0.5, 1.5),
hue_delta=18)
| 41 | """ |
| 42 | |
| 43 | def __init__(self, |
| 44 | brightness_delta=32, |
| 45 | contrast_range=(0.5, 1.5), |
| 46 | saturation_range=(0.5, 1.5), |
| 47 | hue_delta=18): |
| 48 | self.brightness_delta = brightness_delta |
| 49 | self.contrast_lower, self.contrast_upper = contrast_range |
| 50 | self.saturation_lower, self.saturation_upper = saturation_range |
| 51 | self.hue_delta = hue_delta |
| 52 | |
| 53 | def __call__(self, results): |
| 54 | """Call function to perform photometric distortion on images. |
nothing calls this directly
no outgoing calls
no test coverage detected