1. A sensor unit to a digital camera, said sensor unit comprising a detector which determines static and dynamic accelerations, said detector comprising a first sensor sensitive to acceleration in a first direction, said first sensor providing a first output signal in response to acceleration in the first direction, a second sensor sensitive to acceleration in a second direction, said second sensor providing a second output signal in response to acceleration in the second direction, the second direction being different from the first direction; and a processor being adapted to process the first and second output signals, said processor comprising a first filter being adapted to low-pass filter the first and second output signals so as to obtain information relating to static accelerations, and a second filter being adapted to band-pass filter the first and second output signals so as to obtain information relating to dynamic accelerations.