title: What is skin colour range in rgb?
body: <p>I've seen several questions about skin colour already but didn't found an exact skin colour range in rgba. Can someone tell what is a min-max rgba colours for example for a middle-aged European man?</p>
  
  <p>My code is like this:</p>
  
  <pre><code>   //Here should be scin min max rgba range
  static CvScalar min = cvScalar(0, 0, 130, 0);//BGR-A
  static CvScalar max= cvScalar(140, 110, 255, 0);//BGR-A
  
  public static void main(String[] args) {
      //read image
      IplImage orgImg = cvLoadImage("colordetectimage.jpg");
      //create binary image of original size
      IplImage imgThreshold = cvCreateImage(cvGetSize(orgImg), 8, 1);
      //apply thresholding
      cvInRangeS(orgImg, min, max, imgThreshold);
      //smooth filter- median
      cvSmooth(imgThreshold, imgThreshold, CV_MEDIAN, 13);
      //save
      cvSaveImage("threshold.jpg", imgThreshold); }
  </code></pre>
  
  <p>So I need to just specify rgba values here.</p>