Skip to content

Other Items for Tables

Following classes are sub items composed of each schema tables.

SampleData


FileFormat

Bases: str, Enum

An enum to represent file formats.

Attributes:

  • JPG

    JPG format for image data.

  • PNG

    PNG format for image data.

  • PCD

    PCD format for pointcloud data.

  • BIN

    BIN format.

  • PCDBIN

    PCD.BIN format for pointcloud data.

is_member staticmethod

is_member(item)

Indicate whether the input item is the one of members of FileFormat.

Parameters:

  • item (str) –

    Any file format name.

Returns:

  • bool

    Return True if the item is included.

values staticmethod

values()

Return a list of values of members.

Returns:

  • list[str]

    List of values.

as_ext

as_ext()

Return the value as file extension.

Returns:

  • str

    File extension.

SensorModality

Bases: str, Enum

An enum to represent sensor modalities.

Attributes:

  • LIDAR

    Lidar sensor.

  • CAMERA

    Camera sensor.

  • RADAR

    Radar sensor.

VisibilityLevel

Bases: str, Enum

An enum to represent visibility levels.

Attributes:

  • FULL

    No occlusion for the object.

  • MOST

    Object is occluded, but by less than 50%.

  • PARTIAL

    Object is occluded, but by more than 50%.

  • NONE

    Object is 90-100% occluded and no points/pixels are visible in the label.

  • UNAVAILABLE

    Visibility level is not specified.

from_value classmethod

from_value(level)

Load member from its value.

RLEMask

A dataclass to represent segmentation mask compressed by RLE.

Attributes:

  • size (list[int, int]) –

    Size of image ordering (width, height).

  • counts (str) –

    RLE compressed mask data.

decode

decode()

Decode segmentation mask.

Returns:

  • NDArrayU8

    Decoded mask in shape of (H, W).

ShiftState

Bases: str, Enum

An enum to represent gear shift state.

IndicatorState

Bases: str, Enum

An enum to represent indicator state.

Indicators

A dataclass to represent state of each indicator.

Attributes:

AdditionalInfo

A dataclass to represent additional state information of the ego vehicle.

Attributes:

  • speed (float | None) –

    Speed of the ego vehicle.

Sensor


SensorModality

Bases: str, Enum

An enum to represent sensor modalities.

Attributes:

  • LIDAR

    Lidar sensor.

  • CAMERA

    Camera sensor.

  • RADAR

    Radar sensor.

ObjectAnn/SurfaceAnn


RLEMask

A dataclass to represent segmentation mask compressed by RLE.

Attributes:

  • size (list[int, int]) –

    Size of image ordering (width, height).

  • counts (str) –

    RLE compressed mask data.

decode

decode()

Decode segmentation mask.

Returns:

  • NDArrayU8

    Decoded mask in shape of (H, W).

Visibility


VisibilityLevel

Bases: str, Enum

An enum to represent visibility levels.

Attributes:

  • FULL

    No occlusion for the object.

  • MOST

    Object is occluded, but by less than 50%.

  • PARTIAL

    Object is occluded, but by more than 50%.

  • NONE

    Object is 90-100% occluded and no points/pixels are visible in the label.

  • UNAVAILABLE

    Visibility level is not specified.

from_value classmethod

from_value(level)

Load member from its value.

VehicleState


ShiftState

Bases: str, Enum

An enum to represent gear shift state.

IndicatorState

Bases: str, Enum

An enum to represent indicator state.

Indicators

A dataclass to represent state of each indicator.

Attributes:

AdditionalInfo

A dataclass to represent additional state information of the ego vehicle.

Attributes:

  • speed (float | None) –

    Speed of the ego vehicle.