(image_path)
| 128 | return overlap |
| 129 | |
| 130 | def blur(image_path): |
| 131 | img = Image.open(image_path) |
| 132 | k = Kernel((randint(10,100), randint(10,100)), intensity = randint(0,10)/10) |
| 133 | |
| 134 | blurred = k.applyTo(img, keep_image_dim=True) |
| 135 | return blurred |
| 136 | |
| 137 | def average_hw (src): |
| 138 | # print the average height and width of all the images in src |
no test coverage detected