PointcloudInfo

class PointcloudInfo(id, frame, description, name, team_id, workspace_id, project_id, dataset_id, link, hash, path_original, cloud_mime, figures_count, objects_count, tags, meta, created_at, updated_at)[source]

Bases: NamedTuple

NamedTuple with pointcloud information from Supervisely.

Usage Example:
PointcloudInfo(
    id=19373403,
    frame=None,
    description="",
    name="000063.pcd",
    team_id=435,
    workspace_id=687,
    project_id=17231,
    dataset_id=55875,
    link=None,
    hash="7EcJCyhq15V4NnZ8oiPrKQckmXXypO4saqFN7kgH08Y=",
    path_original="/h5unms4-public/point_clouds/Z/h/bc/roHZP5nP2.pcd",
    cloud_mime="image/pcd",
    figures_count=4,
    objects_count=4,
    tags=[],
    meta={},
    created_at="2023-02-07T19:36:44.897Z",
    updated_at="2023-02-07T19:36:44.897Z",
)

Create new instance of PointcloudInfo(id, frame, description, name, team_id, workspace_id, project_id, dataset_id, link, hash, path_original, cloud_mime, figures_count, objects_count, tags, meta, created_at, updated_at)

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

cloud_mime

str: MIME type of the point cloud.

created_at

str: Point cloud creation time.

dataset_id

int: Dataset ID in Supervisely.

description

str: Point cloud description.

figures_count

int: Number of PointcloudFigure objects in the point cloud

frame

int: Number of frame in the point cloud

hash

str: Point cloud hash obtained by base64(sha256(file_content)).

id

int: Point cloud ID in Supervisely.

link

str: Link to point cloud.

meta

dict: A dictionary containing point cloud metadata.

name

str: Point cloud filename.

objects_count

int: Number of PointcloudObject objects in the point cloud

path_original

str: Relative storage URL to point cloud.

project_id

int: Project ID in Supervisely.

tags

list: Pointcloud PointcloudTag list.

team_id

int: TeamApi ID in Supervisely.

updated_at

str: Time of last point cloud update.

workspace_id

int: WorkspaceApi ID in Supervisely.

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

cloud_mime

str: MIME type of the point cloud.

created_at

str: Point cloud creation time. e.g. “2019-02-22T14:59:53.381Z”.

dataset_id

int: Dataset ID in Supervisely.

description

str: Point cloud description.

figures_count

int: Number of PointcloudFigure objects in the point cloud

frame

int: Number of frame in the point cloud

hash

str: Point cloud hash obtained by base64(sha256(file_content)). Use hash for files that are expected to be stored at Supervisely or your deployed agent.

id

int: Point cloud ID in Supervisely.

str: Link to point cloud.

meta

dict: A dictionary containing point cloud metadata.

name

str: Point cloud filename.

objects_count

int: Number of PointcloudObject objects in the point cloud

path_original

str: Relative storage URL to point cloud. e.g. “/h5un6l2bnaz1vms4-public/pointclouds/Z/d/HD/lfgipl…NXrg5vz.mp4”.

project_id

int: Project ID in Supervisely.

tags

list: Pointcloud PointcloudTag list.

team_id

int: TeamApi ID in Supervisely.

updated_at

str: Time of last point cloud update. e.g. “2019-02-22T14:59:53.381Z”.

workspace_id

int: WorkspaceApi ID in Supervisely.