Learning a restricted bayesian network for object detection | Synapse