1. A method, comprising: at the beginning of an image capture period starting a first integration phase for capturing a frame by opening a shutter of a camera; during the image capture period, if a motion above a predetermined motion threshold is detected in the camera, ending the first integration phase by closing the shutter and saving a first captured frame; if the duration of the first integration phase for the captured frame is less than the image capture period, opening the shutter and starting a second integration phase; if a motion above the predetermined motion threshold is detected in the camera, ending the second integration phase by closing the shutter and saving a second captured frame; and at the end of the image capture period, creating a final picture by combining at least the first and the second captured frames.