gnes.preprocessor.io_utils.gif module

gnes.preprocessor.io_utils.gif.capture_frames(input_fn: str = 'pipe:', input_data: bytes = None, fps: int = None, pix_fmt: str = 'rgb24', vframes: int = -1) → numpy.ndarray[source]
gnes.preprocessor.io_utils.gif.encode_video(images: numpy.ndarray, frame_rate: int, pix_fmt: str = 'rgb24')[source]