discopat.core.entities.frame
Classes
|
Class to model movie frames or images. |
- class discopat.core.entities.frame.Frame(name, width, height, annotations, image_array=None)[source]
Bases:
MetadataClass to model movie frames or images.
- Parameters:
name (str)
width (int)
height (int)
annotations (list[Annotation])
image_array (Array)
- classmethod from_dict(data_as_dict)[source]
Make object from a dictionary.
- Parameters:
data_as_dict (dict)
- Return type:
Self
- classmethod printable_fields()[source]
List of the relevant fields to serialise the object.
- Return type:
list[str]