How to reduce image size (number of pixels) and blur at the same time?

I am trying to blur an image with OpenCV python. Are there any OpenCV methods that can be used to blur an image while also reducing the number of pixels in the image? I’m trying to reduce the number of pixels significantly, so I don’t think the resize() method works.

sure it works. INTER_AREA.

or use pyrDown repeatedly.

1 Like