princeton-vl / DROID-SLAM

BSD 3-Clause "New" or "Revised" License
1.75k stars 294 forks source link

Constant used to resize images in image_stream? #27

Closed AI-Hunter closed 2 years ago

AI-Hunter commented 2 years ago

in demo.py, there two lines, where you use 384 and 512:

 h1 = int(h0 * np.sqrt((384 * 512) / (h0 * w0)))
 w1 = int(w0 * np.sqrt((384 * 512) / (h0 * w0)))

is it fixed values? what will be for higher resolution images? I mean how can I choose those values to resize the images?

Thanks in advanced

pranav-asthana commented 2 years ago

Hi, were you able to figure this out? I have higher res images but the point cloud resolution (number of points) is limited due to this

29anaortizle commented 3 weeks ago

Hello, could you resolve this issue? I have the same problem

Thank you