Ask Your Question

Revision history [back]

Use the function cv::cvtColor to convert you image to type: CV_RGB2YCrCb.

Either Cb or Cr component has the skin colour in it separated from all other colours, I don't remember which, you can view the 3 different components in the yCbCr image separately to make sure which.

Kind regards.