Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First you should detect can use OpenCV Face detection.

then you can compute [histogram]( cvCalcHist(IplImage* image, CvHistogram hist, int accumulate, const CvArr* mask) of detected face.the most frequent color is face's color and you can use it to change color of body.