Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ibaiGorordo committed Apr 8, 2023
2 parents 2c7168f + 5791482 commit 957ca8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from plot3dUtils import Open3dVisualizer
from .plot3dUtils import Open3dVisualizer
3 changes: 3 additions & 0 deletions pykinect_azure/k4a/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ def get_pointcloud(self, calibration_type = _k4a.K4A_CALIBRATION_TYPE_DEPTH):

def get_transformed_pointcloud(self):
ret, points = self.get_transformed_pointcloud_object().to_numpy()
if not ret:
return ret, []

points = points.reshape((-1, 3))
return ret, points

Expand Down

0 comments on commit 957ca8b

Please sign in to comment.