Disclosed are systems, apparatus, devices, methods, computer program products, and other implementations, including a method that includes capturing an image of a scene by an image capturing unit of a device that includes an accelerometer, and determining orientation of the device based, at least in part, on determined location of a vanishing point (e.g., a single vanishing point) in the captured image of the scene and at least one measurement obtained from the accelerometer.