How to make a blur image into only several colors averagely?

asked 2019-01-12 10:24:32 -0500

updated 2019-01-12 10:48:28 -0500

berak gravatar image

I want to make a blur image into only several colors averagely.
For instance, make this photo

image description

into ---->

Is there an operation in opencv-python to realize such effect?

I tried a lot ways as medianBlur() and division, but fails.

edit retag flag offensive close merge delete