A Trainable System for Object Detection