Algorithm Used In Object Detection