concepts.hw_interface.george_vision.object_centric_vision.ObjectDetectionResult#

class ObjectDetectionResult[source]#

Bases: object

The result of object detection.

Methods

Attributes

mesh

Returns the mesh of the object.

mesh_bbox

Returns the bounding box of the mesh of the object.

pcd_mask

reconstructed_mesh

The mesh of the object.

reconstructed_pcd

The reconstructed point cloud of the object.

label

The label of the object.

pcd

The point cloud of the object.

__init__(label, pcd, reconstructed_pcd=None, reconstructed_mesh=None, pcd_mask=None)#
Parameters:
  • label (str)

  • pcd (PointCloud)

  • reconstructed_pcd (PointCloud | None)

  • reconstructed_mesh (TriangleMesh | None)

  • pcd_mask (ndarray | None)

Return type:

None

__new__(**kwargs)#
label: str#

The label of the object.

property mesh: TriangleMesh#

Returns the mesh of the object. If the mesh is not reconstructed, an error will be raised.

property mesh_bbox: AxisAlignedBoundingBox#

Returns the bounding box of the mesh of the object. If the mesh is not reconstructed, an error will be raised.

pcd: PointCloud#

The point cloud of the object.

pcd_mask: ndarray | None = None#
reconstructed_mesh: TriangleMesh | None = None#

The mesh of the object.

reconstructed_pcd: PointCloud | None = None#

The reconstructed point cloud of the object.