Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -320,7 +320,7 @@ def get_mesh(image, depth, blur_data, loadall):
|
|
320 |
i=i+1
|
321 |
|
322 |
el = trimesh.path.entities.Line(ln)
|
323 |
-
mesh.append(trimesh.path.path.Path3D(entities=[el], vertices=verts, colors=[clrs]))
|
324 |
mesh_n.append(str(fnum))
|
325 |
|
326 |
#theta = locations[fnum]["heading"] / 180 * np.pi
|
|
|
320 |
i=i+1
|
321 |
|
322 |
el = trimesh.path.entities.Line(ln)
|
323 |
+
mesh.append(trimesh.path.path.Path3D(entities=[el], vertices=verts, colors=[clrs.flatten()]))
|
324 |
mesh_n.append(str(fnum))
|
325 |
|
326 |
#theta = locations[fnum]["heading"] / 180 * np.pi
|