A face detector detects a person's face from a through image. When the
face is not found, and a shutter button is pressed fully, a correction
lens is moved in the direction and at the speed to offset a camera shake
detected by an angular velocity sensor and a still image is shot. When
the face is found, and the shutter button is pressed halfway, a motion
vector detector reads two through images from a SDRAM to detect a subject
shake. During the shooting of the still image by full press of the
shutter button, the correction lens moves in the direction and at the
speed to offset the subject shake.