Using the mean shift algorithm to find an object