LabelStore#

class LabelStore[source]#

Bases: ABC

This defines how to store prediction labels for a scene.

Attributes

__init__()#

Methods

__init__()

get_labels()

Loads Labels from this label store.

save(labels)

Save.

set_bbox(extent)

Set self.extent to the given value.

abstract get_labels()[source]#

Loads Labels from this label store.

abstract save(labels)[source]#

Save.

Parameters
  • saved (labels - Labels to be) – of pipeline.

  • type (the type of which will be dependant on the) – of pipeline.

abstract set_bbox(extent: Box) None[source]#

Set self.extent to the given value.

Note

This method is idempotent.

Parameters

extent (Box) – User-specified extent in pixel coordinates.

Return type

None

abstract property bbox: Optional[Box]#
abstract property crs_transformer: CRSTransformer#