LabelStore#
- class LabelStore[source]#
Bases:
ABC
This defines how to store prediction labels for a scene.
Attributes
Bounding box applied to the source.
Associated
CRSTransformer
.- __init__()#
Methods
__init__
()Loads Labels from this label store.
save
(labels)Save.
set_bbox
(extent)Set self.extent to the given value.
- abstract save(labels)[source]#
Save.
- Parameters:
saved (labels - Labels to be) – of pipeline.
type (the type of which will be dependent 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 crs_transformer: CRSTransformer#
Associated
CRSTransformer
.