Clustering and Bayesian network for image of faces classification