princeton-vl / DROID-SLAM

BSD 3-Clause "New" or "Revised" License
1.66k stars 273 forks source link

How read .npy files from the reconstructions directory #73

Closed MrCorsair3 closed 1 year ago

MrCorsair3 commented 1 year ago

Hello, congratulations on a great project. I have a question about the situation where the --reconstruction_path flag is set, how to properly display the contents of .npy files?

felipesce commented 1 year ago

import numpy as np arr = np.load("path/to/file") print(arr)

MrCorsair3 commented 1 year ago

I meant how to open it more visually

pytholic commented 1 year ago

@MrCorsair3 Have you figured this out? I have all the .npy files but I am not sure how to reconstruct and visualize scene with something like open3D.

zapmxl commented 1 year ago

Question: How do I convert these reconstruction .npy files into .obj or .ply files so i can visualize them on Meshlab or Cloud Compare??

pytholic commented 1 year ago

@zapmxl This might be helpful: https://github.com/pytholic/ml_cv_scripts_guides/tree/8e56fcdc433433fcd4d8b885b8c831d16541fdfd/droid_slam