(self, img)
| 55 | self.p = p |
| 56 | |
| 57 | def __call__(self, img): |
| 58 | if random.random() < self.p: |
| 59 | return ImageOps.solarize(img) |
| 60 | else: |
| 61 | return img |
| 62 | |
| 63 | class gray_scale(object): |
| 64 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected