1. A method for detecting an object in a digital picture, comprising the steps of: segmenting the image into a plurality of separate objects; for an object, extracting a feature value for the object as a function of pixels of the object, the feature value comprising at least one of luminance intensity and color, wherein when extracting the feature value of an object, if the number of plurality of pixels in the object whose feature values fall into a range exceeds a predetermined threshold compared with the total number of pixels in the object, the average of the feature values of the plurality of pixels is extracted as the feature value of the object; selecting the object's neighboring area said neighboring area being circular around the object: weighting an average difference between the feature value of the object and the feature value of each of other objects in the neighboring area by using a size of each of other objects to obtain a weighted average feature difference of the object; and selecting an object from the plurality of objects according to their weighted average feature difference as the detected object.