Label¶
- class aloscene.labels.Labels(x, encoding: str = 'id', labels_names: Optional[list] = None, scores: Optional[torch.Tensor] = None, names=None, *args, **kwargs)¶
Bases:
aloscene.tensors.augmented_tensor.AugmentedTensor
Boxes2D Tensor.
- get_view(frame=None, **kwargs)¶
Create a view of the boxes a frame
- Parameters
- frame: aloscene.Frame
Tensor of type Frame to display the boxes on. If the frame is None, nothing wll be returned.