otx.api.entities.media#
This module implements the Media entity.
Classes
This interface is used to represent IMedia which is 2-dimensional media, i.e., containing height and width. |
|
Media entity interface. |
- class otx.api.entities.media.IMedia2DEntity[source]#
Bases:
IMediaEntity
This interface is used to represent IMedia which is 2-dimensional media, i.e., containing height and width.
- abstract roi_numpy(roi: Annotation | None) ndarray [source]#
Returns the numpy representation of the 2D Media object while taking the roi into account.