pyorc.Video.get_frames#

Video.get_frames(**kwargs) DataArray[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, optional) – keyword arguments to pass to get_frame. Currently only grayscale is supported.

Returns:

frames – containing all requested frames

Return type:

xr.DataArray