A method and system for determining camera positioning information from an
accelerometer mounted on a camera. The accelerometer measures the
orientation of the camera with respect to gravity. Orientation
measurement allows user interface information to be displayed in a "right
side up" orientation on a viewfinder for any camera orientation.
Alternatively, an artificial horizon indicator may be displayed in the
viewfinder. The accelerometer may also measure camera movement. Camera
movement information together with camera orientation can be used to
determine camera usage. Additionally, camera movement information can be
used to determine a minimum shutter speed for a sharp picture.