Contextual Models for Object Detection Using Boosted Random Fields