attachment
base
- class stardust.components.attachment.attachment.AttachmentType(value)[source]
Bases:
Enum
Media type enumeration
- Text = 'TEXT'
- Image = 'IMAGE'
- ImageSet = 'IMAGE_SET'
- Video = 'VIDEO'
- Audio = 'AUDIO'
- AudioSet = 'AUDIO_SET'
- PointCloud = 'POINTCLOUD'
- PointCloudSet = 'POINTCLOUD_SET'
- ImageSequence = 'IMAGE_SEQUENCE'
- PointCloudSequence = 'POINTCLOUD_SEQUENCE'
- PointCloudSetSequence = 'POINTCLOUD_SET_SEQUENCE'
image
- class stardust.components.attachment.image.Image(uri, width=None, height=None, name=None, camera_param=None)[source]
Bases:
UriInfo
Picture object
- Args:
- width:
the picture width
- height:
the picture height
- name:
the picture name
- camera_param:
class Camera
- Returns:
Image instance
- Examples:
image = Image('', camera_param=cam)
pointcloud
- class stardust.components.attachment.pointcloud.PointCloud(uri=None, name=None, file_path=None)[source]
Bases:
UriInfo
Point cloud structure, marked as point cloud type
- Args:
- uri:
Cloud address of the point cloud
- name:
Point cloud name
- file_path:
Local path of the point cloud file
- Returns:
PointCloud instance
- Examples:
path = '/Users/stardust/Desktop/1681532060081818.pcd' p = PointCloud(filename=path) print(p.points_info)
- property pcd
- class stardust.components.attachment.pointcloud.PointCloudSet(point_cloud_set)[source]
Bases:
object
- Args:
- point_cloud_set:
PointCloud list
- Returns:
PointCloudSet class
- type = 'POINTCLOUD_SET'
-
point_cloud_set:
List
[PointCloud
]