andyzeng / tsdf-fusion-python

Python code to fuse multiple RGB-D images into a TSDF voxel volume.
http://andyzeng.github.io/
BSD 2-Clause "Simplified" License
1.25k stars 219 forks source link

.ply file not generating while running demo.py #3

Open ahar opened 5 years ago

ahar commented 5 years ago

Hi, I got the following error while running the demo.py.

Traceback (most recent call last):
  File "demo.py", line 52, in <module>
    verts,faces,norms,colors = tsdf_vol.get_mesh()
  File "/home/anindya/tsdf-fusion-python/fusion.py", line 262, in get_mesh
    verts,faces,norms,vals = measure.marching_cubes_lewiner(tsdf_vol,level=0)
AttributeError: 'module' object has no attribute 'marching_cubes_lewiner'
kingsman142 commented 5 years ago

Have you installed scikit-image? It possesses the marching_cubes_lewiner functionality: https://scikit-image.org/docs/dev/api/skimage.measure.html.

If not, you can install the current stable version 1.15.0 as follows: pip install -U scikit-image