Agisoft Metashape to NERF conversion #438
Replies: 4 comments 10 replies
-
When I use it I get an error - " RuntimeWarning: invalid value encountered in true_divide in line 41 -- totp /= totw" - do you have a fix for this? |
Beta Was this translation helpful? Give feedback.
-
Hey Enciro, thanks for making this awesome tool. I wanted to ask if you know a good way of fixing the size of the model being too big? I keep getting results like:
Which is way outside the bounds of the nerf world. When i try scaling down the object inside metashape it doesnt change this center of attention, it comes out exactly the same no matter what i do with the scene inside metashape. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
(nerfstudio) C:\Users\USER\Desktop\NS\data\oldport\agi2nerf>python agi2nerf.py --xml oldporthouse.xml I am getting this error when I try to run the command line, I assume it is related to the XML file coming from meta shape. I used 360 photos and changed the camera calibration to spherical in meta shape. Is it because I used 360 images, if yes, is there a way to train 360 captured images? thank you |
Beta Was this translation helpful? Give feedback.
-
Hi @EnricoAhlers, @Tom94 recently updated the code base to support equirectangular projection and latlong projection inside NGP.
However, there doesn’t currently exist a solution for aligning and orientating a dataset of equirectangular images to bring into NGP. since Metashape has this ability, do you think it would be possible to update this awesome script you’ve made to support converting equirectangular alignments from Metashape into JSON? |
Beta Was this translation helpful? Give feedback.
-
I wrote a simple script for converting Agisoft Metashape projects to NERF files. For me this yielded better results than using COLMAP, especially when there are very few images available.
You can find it here:
https://github.com/EnricoAhlers/agi2nerf
Beta Was this translation helpful? Give feedback.
All reactions