Hi. I'm a programmer from Russia with strong skills in C++, Python and JavaScript. My plan is following:
1. Face detection algorithm builds the rect bounding the face.
2. Rect is divided into several subrects.
3. In each subrect average colour is calculated.
4. Subrect is filled with average colour.
As you see, quite simple. If you have any questions, feel free to contact me.