Skip to main content

class Object3D

Description

W&B class for 3D point clouds.

Args

  • data_or_path: Object3D can be initialized from a file or a numpy array.
  • caption: Caption associated with the object for display.
  • kwargs:

Methods

method Object3D.from_file()

Initializes Object3D from a file or stream.
Arguments
  • data_or_path: A path to a file or a TextIO stream.

method Object3D.from_numpy()

Initializes Object3D from a numpy array.
Arguments

method Object3D.from_point_cloud()

Initializes Object3D from a python object.
Arguments
  • points: The points in the point cloud.
  • boxes: 3D bounding boxes for labeling the point cloud. Boxes are displayed in point cloud visualizations.
  • vectors: Each vector is displayed in the point cloud visualization. Can be used to indicate directionality of bounding boxes. Defaults to None.