An object detection framework