pyorc.Video.get_frames#

Video.get_frames(**kwargs)[source]#

Get a xr.DataArray, containing a dask array of frames, from start_frame until end_frame, expected to be read lazily. The xr.DataArray will contain all coordinate variables and attributes, needed for further processing steps.

Parameters:

kwargs – dict, keyword arguments to pass to get_frame. Currently only grayscale is supported.

Returns:

xr.DataArray, containing all requested frames