Computational Methods for Bayesian Object Recognition