Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
7bcdb21
1
Parent(s):
6bea180
fix
Browse files
utils.py
CHANGED
@@ -146,7 +146,7 @@ def generate_PCL(image):
|
|
146 |
depth_result = depth_predictor.predict(image)
|
147 |
image = np.array(image)
|
148 |
pcd = array_PCL(image, depth_result)
|
149 |
-
fig = px.scatter_3d(x=pcd[:, 0], y=pcd[:, 1], z=pcd[:, 2], size_max=0.
|
150 |
return fig
|
151 |
|
152 |
|
|
|
146 |
depth_result = depth_predictor.predict(image)
|
147 |
image = np.array(image)
|
148 |
pcd = array_PCL(image, depth_result)
|
149 |
+
fig = px.scatter_3d(x=pcd[:, 0], y=pcd[:, 1], z=pcd[:, 2], size_max=0.01)
|
150 |
return fig
|
151 |
|
152 |
|