build 2 histogram of skin and non skin, calculate probability for predicting