  
      def _load_video(self, *args):  # pylint:disable=unused-argument
          """ Generator for loading frames from a video
  
          Parameters
          ----------
          args: tuple
              Unused
  
          Yields
          ------
          filename: str
              The dummy filename of the loaded video frame.
          image: numpy.ndarray
 
</s> remove     def _load_video(self, *args):  # pylint:disable=unused-argument
 </s> add     def _from_video(self): </s> remove         with_hash: bool
            If ``True`` adds the sha1 hash to the output tuple as the final item.
 </s> add         frame_no: int
            The frame number for the video frame

        Returns
        -------
        str: A dummied filename for a video frame """
        vidname = os.path.splitext(os.path.basename(self.location))[0]
        return "{}_{:06d}.png".format(vidname, frame_no + 1)

    def _from_folder(self):
        """ Generator for loading images from a folder </s> remove         logger.debug("Loading frames from video: '%s'", self._input)
        vidname = os.path.splitext(os.path.basename(self._input))[0]
        reader = imageio.get_reader(self._input, "ffmpeg")
        for i, frame in enumerate(reader):
 </s> add         logger.debug("Loading frames from video: '%s'", self.location)
        reader = imageio.get_reader(self.location, "ffmpeg")
        for idx, frame in enumerate(reader):
            if idx in self._skip_list:
                logger.trace("Skipping frame %s due to skip list")
                continue </s> remove     def _load_images(self, with_hash):
        """ Generator for loading images from a folder
 </s> add     def _dummy_video_framename(self, frame_no):
        """ Return a dummy filename for video files </s> remove         If :class:`BackgroundIO` was initialized with :attr:`load_with_hash` set to ``True`` then
 </s> add         If :class:`ImageIO` was initialized with :attr:`load_with_hash` set to ``True`` then
  
      def _load_video(self, *args):  # pylint:disable=unused-argument
          """ Generator for loading frames from a video
  





          Yields
          ------
          filename: str
              The dummy filename of the loaded video frame.
          image: numpy.ndarray
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 scripts.extract - code optimizations

Limit queue sizes to reduce RAM usage
Rename lib.image.BackgroundIO to ImageIO
Create separate ImagesLoader and ImagesSaver classes
Load/Save images from centralized lib.image.ImageIO
scripts.extract documentation 
lib/image.py