A camera having an electronic image pickup element and a
distance-measuring circuit that uses light signals obtained from light
images of a plurality of distance-measuring areas set in a photographing
screen to select a main subject and measure the distance to the subject.
The camera has a focusing component, operating when the position of the
main subject cannot be identified by the distance-measuring circuit, to
divide the photographing screen into a plurality of areas to identify an
area in which the main subject is present on the basis of a luminance
distribution obtained from the areas other than those overlapping the
distance-measuring areas. The focusing component focuses a photographing
lens on the position of the highest contrast signal while scanning the
lens position of the photographing lens.