A controller is provided which includes a photographing control unit
controlling an image pickup unit to take a photograph and a shake
detecting unit detecting an amount of shake even time the image pickup
unit takes a photograph. Here, the photographing control unit allows the
image pickup unit to consecutively take a photograph and ends the
photographing operation of the image pickup unit when the amount of shake
detected by the shake detecting unit at the time of the photographing
operation of the image pickup unit is larger than the amount of shake
detected at the time of the previous photographing operation.