Alternatively, it is possible that a processing signal is output to the Df amount calculator 16 to take defocusamounts Df calculated a predetermined number of times at predetermined intervals, and a change amount .DELTA.Df is calculated and compared with the threshold value, thereby determining whether or not the subject is a moving body.In addition, the moving body detecting means in Embodiment 1