From cf33c4702f270335f90bc6c7468d1c59f7ce04ad Mon Sep 17 00:00:00 2001 From: Andrew White Date: Mon, 27 Jul 2026 20:48:21 -0500 Subject: [PATCH] fix: SceneViz.add_rgbd does not convert image paths to arrays --- dust3r/viz.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dust3r/viz.py b/dust3r/viz.py index 9150e8b..cb7f98a 100644 --- a/dust3r/viz.py +++ b/dust3r/viz.py @@ -171,6 +171,7 @@ def add_pointcloud(self, pts3d, color=(0,0,0), mask=None, denoise=False): return self def add_rgbd(self, image, depth, intrinsics=None, cam2world=None, zfar=np.inf, mask=None): + image = img_to_arr(image) # make up some intrinsics if intrinsics is None: H, W, THREE = image.shape