Forum

Author Topic: How to emmbed camera position before importing them to metashape ?  (Read 7542 times)

cyrilp

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Hi,
i'm taking pictures using a robotic arm, so i know exactly the position of the camera for each photo.
How can i add this information to the pictures so that metashape can retrieve it ?
yours,
Cyril

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15691
    • View Profile
Re: How to emmbed camera position before importing them to metashape ?
« Reply #1 on: October 10, 2023, 12:37:35 PM »
Hello Cyril,

As far as I know, EXIF meta data supports only coordinate information in WGS84 coordinate system.

If you are working in local coordinates, I see two main possibilities:
1. Save the exterior orientation information to CSV/TXT file and import it as a reference data after adding images to Metashape project,
2. Embed the coordinate/orientation data to custom XMP namespace and read this information using script, by parsing the image header for each image, but this approach would work much longer, as script should read every image.
Best regards,
Alexey Pasumansky,
Agisoft LLC

cyrilp

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: How to emmbed camera position before importing them to metashape ?
« Reply #2 on: December 06, 2023, 04:17:01 PM »
can you explain a little more how to do this:
 Save the exterior orientation information to CSV/TXT file and import it as a reference data after adding images to Metashape project ?