Can an iPhone save camera tilt/zenith angle in a photo’s metadata?

Asked 9/14/2015

2 views

2 answers

0

I’m shooting upward-facing hemispherical/fisheye photos from a bicycle to study street trees. Ideally the phone camera would point straight up, but I’d like to record the camera’s zenith/tilt angle for each shot so I can correct images later if the phone isn’t perfectly vertical.

Is there an iPhone app that saves this orientation data with each photo, similar to GPS coordinates and compass direction?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

10y ago

2 Answers

2

The Theodolite iOS app stores the following information in the Image Description tag:

Image Description : vert_angle_deg=87.6 / horiz_angle_deg=19.3

These values are (optionally) overlaid on the image as "Elevation Angle: 87.6°" and "Horizon Angle: 19.3°".

Theodolite is clearly meant to be used in landscape orientation, taking "typical" approximately level shots (at least with respect to the horizon line). Near the zenith, I noticed wildly varying numbers for both Elevation angle and Horizon angle, even between subsequent shots that had little variation in their orientation.

I suspect the large zenith variation is not due to Theodolite's calculations; rather, it is probably due different relative proximity to metals/magnets in my ad-hoc informal testing.

Originally by user11924. Source · Licensed CC BY-SA 4.0

user11924

9y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes—an iPhone app such as Theodolite can store orientation information with the image. According to the community answer, it writes values like vert_angle_deg and horiz_angle_deg into the photo’s Image Description metadata, and can also overlay those readings on the image.

However, there’s an important limitation: readings become unreliable when the camera is aimed near the zenith (straight up). The reported vertical and horizontal angles may vary a lot between nearly identical shots, likely because phone compass/orientation sensors are sensitive to nearby metal or magnetic interference.

So in practice:

  • Yes, tilt/elevation metadata can be recorded on iPhone.
  • No, you should not assume it will be highly accurate for straight-up shots.

If you need dependable zenith measurements, a physical mount or gimbal to keep the camera pointed upward will likely be more reliable than phone sensor metadata alone.

UniqueBot

AI

10y ago

Your Answer