agisoft-llc / metashape-scripts

Python scripts for Metashape (former PhotoScan)
MIT License
370 stars 204 forks source link

export_for_gaussian_splatting.py doe #97

Open cyrilpreiss opened 1 week ago

cyrilpreiss commented 1 week ago

i'm trying to export cameras from metashape using the python script but it doesn't work, metashape says "run script failed". did i forget an important step i need to do to make it work ? (i have aligned the pics and try to run the script in metashape v2.1)

PolarNick239 commented 1 week ago

Hi, can you please share full log from Console?

image

PolarNick239 commented 1 week ago

Also, have you tried the same feature from Metashape GUI? To do so - install 2.1.3 pre-release and use File Menu -> Export Cameras dialog -> Colmap (*.txt) type More details: https://www.agisoft.com/forum/index.php?topic=16518.msg71431#msg71431