otx.api.entities.metadata#
This module defines classes representing metadata information.
Classes
|
This class represents metadata of type float. |
|
Represents the use of the FloatMetadata. |
This interface represents any additional metadata information which can be connected to an IMedia. |
|
|
This class is a wrapper class which connects the metadata value to model, which was used to generate it. |
|
This class represents metadata of video. |
- class otx.api.entities.metadata.FloatMetadata(name: str, value: float, float_type: FloatType = FloatType.FLOAT)[source]#
Bases:
IMetadata
This class represents metadata of type float.
- class otx.api.entities.metadata.FloatType(value)[source]#
Bases:
Enum
Represents the use of the FloatMetadata.
- class otx.api.entities.metadata.IMetadata[source]#
Bases:
object
This interface represents any additional metadata information which can be connected to an IMedia.
- property name#
Gets or sets the name of the Metadata item.
- class otx.api.entities.metadata.MetadataItemEntity(data: Any, model: ModelEntity | None = None)[source]#
Bases:
object
This class is a wrapper class which connects the metadata value to model, which was used to generate it.
- Parameters:
data (IMetadata) – The metadata value.
model (Optional[ModelEntity]) – The model which was used to generate the metadata. Defaults to None.