In total, up to ``max_number_of_frames`` is selected (unless selection style is ``all``
Different selection styles are supported:
* first : The first frames are selected
* spread : Frames are selected to be taken from the whole video
* step : Frames are selected every ``step_size`` indices, starting at ``step_size/2`` **Think twice if you want to have that when giving FrameContainer data!**
* all : All frames are stored unconditionally
* quality (only valid for FrameContainer data) : Select the frames based on the highest internally stored quality value
"""Selects frames and returns them in a FrameContainer.
Different ``data`` parameters are accepted:
* :py:class:`FrameContainer` : frames are selected from the given frame container
* ``str`` : A video file to read and select frames from
* ``[str]`` : A list of image names to select from
* ``numpy.array`` (3D or 4D): A video to select frames from
When giving ``str`` or ``[str]`` data, the given ``load_function`` is used to read the data from file.
"""A class for selecting frames from videos.
In total, up to ``max_number_of_frames`` is selected (unless selection style is ``all``
Different selection styles are supported:
* first : The first frames are selected
* spread : Frames are selected to be taken from the whole video
* step : Frames are selected every ``step_size`` indices, starting at ``step_size/2`` **Think twice if you want to have that when giving FrameContainer data!**
* all : All frames are stored unconditionally
* quality (only valid for FrameContainer data) : Select the frames based on the highest internally stored quality value