Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: vcash on August 10, 2021, 09:11:20 PM

Title: Mavic 2 Pro EXIF metadata vs. XMP metadata
Post by: vcash on August 10, 2021, 09:11:20 PM
Hi there!

This is related to this issue: https://www.agisoft.com/forum/index.php?topic=13437.0

I am using the python API version 1.7.3 and the application version 1.7.3.

I am also finding that when I load new images taken with the Mavic 2 Pro Hasselblad L1D-20c camera, the camera model is being read as "Test_Pro". I am not familiar with XMP metadata, however, I have used ExifTool to review the EXIF data of these images, where the "Model" is listed as "L1D-20c".

I see from the linked issue that Metashape gives XMP metadata priority over the EXIF data, however, my question is about the "Exif/Model" metadata tag belonging to the camera photo object in python. When I look at the value of `doc.chunks[0].cameras[0].photo.meta[\"Exif/Model\"]`, I am seeing "Test_Pro" for these images. In the application version 1.6.6, it was returning "L1D-20c". Is the XMP metadata now being accessed in the EXIF metadata tags? Is there a way to retrieve the same value for "Model" that I see in the EXIF data?

Thank you!