With a camera such as the one of this embodiment that performs focus adjustment by finding a focus position according to the contrast of the image that is captured by the image sensor 9, the contrast of the captured image is enhanced by the image vibration on the surface of the image sensor 9 being compensated by the vibration compensation, and accordingly the accuracy of focus adjustment is enhan