One major difference: The output of operations is completely different. In Pillow, ​you set radius, while in cv you set kernel size, which is literally diameter. You should use ksize=(7, 7) to achieve the same result.