A General Framework For Object Detection