Internally, the _read_video() function gets an array to indices of frames to be read from a function called _get_frame_indices().
In addition, the user should be able to:
Pass an array/list of indices indicating the frames to be extracted.
Pass a custom function that will return an array of indices - the input(s) made available to the function will be the same as that of _get_frame_indices()
Internally, the
_read_video()
function gets an array to indices of frames to be read from a function called_get_frame_indices()
.In addition, the user should be able to:
_get_frame_indices()