wandb.data_types.Object3D
Wandb class for 3D point clouds.
Object3D(
data_or_path: Union['np.ndarray', str, 'TextIO', dict],
**kwargs
) -> None
Arguments | Text |
---|---|
data_or_path | (numpy array, string, io) Object3D can be initialized from a file or a numpy array. You can pass a path to a file or an io object and a file_type which must be one of SUPPORTED_TYPES |
The shape of the numpy array must be one of either:
[[x y z], ...] nx3
[[x y z c], ...] nx4 where c is a category with supported range [1, 14]
[[x y z r g b], ...] nx4 where is rgb is color
@classmethod
from_file(
data_or_path: Union['TextIO', str],
file_type: "FileFormat3D" = None
) -> "Object3D"
@classmethod
from_numpy(
data: "np.ndarray"
) -> "Object3D"
@classmethod
from_point_cloud(
points: Sequence['Point'],
boxes: Sequence['Box3D'],
vectors: Optional[Sequence['Vector3D']] = None,
point_cloud_type: "PointCloudType" = "lidar/beta"
) -> "Object3D"
Class Variables | Text |
---|---|
SUPPORTED_POINT_CLOUD_TYPES | |
SUPPORTED_TYPES | |
Last modified 3mo ago