Probabilistic Machine Perception