nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
9.18k stars 1.23k forks source link

custom dataset | metashape conversion #2608

Open antoinebio opened 9 months ago

antoinebio commented 9 months ago

Hello, I tried the NERFSTUDIO engine from metashape source so I save xml from the gui. here is a test with 1 single photo into psx image

but the script

doesn't take into account the xml and parse all the source images folder

image

attached you will find the xml file used and exported from metashape. cameras_pose_cam01_only_clean.zip

except a remaining camera model unused the structure looks ok though...

antoinebio commented 9 months ago

I was able to replicate the issue on different metashape projets. so there is a bad encryption of the xml with remaining cam model(s) not yet being used in the metashape project (pending issue for metashape support) when several sensors are being used (or have been used) in the PSX if you open that psx in metashape you won't see more than 1 cam model but the xml you woul export can contains more than one camera model.

if your metashape source project uses only 1 camera (no cam rig) then ns-process metashape --data .... works fine.