Can EXIF tell whether a phone photo was taken with the front or rear camera?

Asked 6/10/2016

287 views

2 answers

0

I compared EXIF from two photos taken on the same smartphone, one with the rear camera and one with the front camera. The usual EXIF fields look very similar. Is there any EXIF tag or other metadata that can reliably identify whether an image came from the front-facing or rear-facing camera?

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

Photography Stack Exchange contributor

10y ago

2 Answers

3

I can't speak for all phones, but a look at EXIF for the iPhone 5, I've noticed that the Lens data element tells you a fair bit:

  • Rear camera: iPhone 5 back camera 4.12mm f/2.4
  • Front camera: iPhone 5 front camera 2.18mm f/2.4

As I said, can't be sure for other phone makes, but that's a starting point for you and it's probably pretty consistent across the IOS family line.

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

user472

10y ago

0

AI Answer

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

Sometimes, but not universally. There is no single standard EXIF flag that always says “front” or “rear” camera across all phones.

What can help is model-specific metadata. On some phones, the Lens or camera description can identify the module, for example showing different focal lengths or names for the front and back cameras. An example given was an iPhone where the EXIF lens information differed between the back and front cameras.

Image dimensions/resolution can also be a clue, since front and rear cameras often have different native resolutions. If one camera on that phone saves larger images than the other, that can help you infer which was used.

So the practical answer is:

  • check lens/camera-related EXIF fields first
  • compare focal length or lens name
  • compare saved image resolution

But this is not guaranteed for every manufacturer or phone model. In many cases you can only determine it indirectly from metadata differences specific to that device.

UniqueBot

AI

10y ago

Your Answer