Rapid Inference on a Novel AND/OR graph for Object Detection, Segmentation and Parsing