Agisoft Metashape
Agisoft Metashape => General => Topic started by: Mostafa on December 22, 2021, 08:04:32 PM
-
Hello,
When I export cameras to NVM format, the parameters are defined in a local coordinate system, and I notice it is different from the one in the XML format.
How to transform the cameras and points at NVM format from the local to the global coordinate system?
-
Hello Mostafa,
You can try to export the cameras in geocentric coordinate system using the following Python code line:
Metashape.app.document.chunk.exportCameras(path = 'cameras.nvm', format = Metashape.CamerasFormatNVM, crs = Metashape.CoordinateSystem('EPSG::4978'))
-
Thanks Alexey,
I noticed when I save to NVM, it includes the failed/un-aligned cameras. Is it a bug? and is it also the case with other formats?