class documentation
class AbstractVideo(abc.Sequence): (source)
Known subclasses: kedro.extras.datasets.video.video_dataset.FileVideo
, kedro.extras.datasets.video.video_dataset.GeneratorVideo
, kedro.extras.datasets.video.video_dataset.SequenceVideo
Base class for the underlying video data
Method | __getitem__ |
Get a frame from the video |
Method | __len__ |
Undocumented |
Property | fourcc |
Get the codec fourcc specification |
Property | fps |
Get the video frame rate |
Property | size |
Get the resolution of the video |
Class Variable | _index |
Undocumented |
Class Variable | _n |
Undocumented |
overridden in
kedro.extras.datasets.video.video_dataset.FileVideo
, kedro.extras.datasets.video.video_dataset.GeneratorVideo
, kedro.extras.datasets.video.video_dataset.SequenceVideo
Get a frame from the video
overridden in
kedro.extras.datasets.video.video_dataset.FileVideo
, kedro.extras.datasets.video.video_dataset.GeneratorVideo
, kedro.extras.datasets.video.video_dataset.SequenceVideo
Get the codec fourcc specification
overridden in
kedro.extras.datasets.video.video_dataset.FileVideo
, kedro.extras.datasets.video.video_dataset.GeneratorVideo
, kedro.extras.datasets.video.video_dataset.SequenceVideo
Get the video frame rate
overridden in
kedro.extras.datasets.video.video_dataset.FileVideo
, kedro.extras.datasets.video.video_dataset.GeneratorVideo
, kedro.extras.datasets.video.video_dataset.SequenceVideo
Get the resolution of the video