jens commited on
Commit
75da92d
·
1 Parent(s): 25335fc
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -174,6 +174,7 @@ def PCL3(image):
174
  # Step 4: Convert PointCloud data to a NumPy array
175
  points = np.asarray(pcd.points)
176
  colors = np.asarray(pcd.colors)
 
177
  sizes = np.zeros(colors.shape)
178
  sizes[:] = 0.01
179
  #ax = Axes3D(fig)
 
174
  # Step 4: Convert PointCloud data to a NumPy array
175
  points = np.asarray(pcd.points)
176
  colors = np.asarray(pcd.colors)
177
+ colors = [tuple(c) for c in colors]
178
  sizes = np.zeros(colors.shape)
179
  sizes[:] = 0.01
180
  #ax = Axes3D(fig)