Skin Detection: A Bayesian Network Approach