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

Correctly works on gpu and cpu now #14

Closed kevinzakka closed 4 years ago

kevinzakka commented 4 years ago

Hi Andy,

I forgot to un-indent the color constant self._b_const which meant it threw an error when using a gpu. I've now fixed it and tested that it runs correctly both on the cpu and gpu.

I've also added a method for extracting a point cloud from the voxel volume and saving it to disk as a ply file.

Cheers :)