  
      def load(self):
          """ Generator for loading images from the given :attr:`location`
  
          If :class:`BackgroundIO` was initialized with :attr:`load_with_hash` set to ``True`` then
          the sha1 hash of the image is added as the final item in the output `tuple`.
  
          Yields
          ------
          filename: str
 
</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             The sha1 hash of the loaded image. Only yielded if :class:`BackgroundIO` was
 </s> add             The sha1 hash of the loaded image. Only yielded if :class:`ImageIO` was </s> remove             The sha1 hash of the loaded image. Only yielded if :class:`BackgroundIO` was
 </s> add             The sha1 hash of the loaded image. Only yielded if :class:`ImageIO` was </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         logger.debug("Loading images from folder: '%s'", self._input)
        for filename in self._input:
 </s> add         with_hash = self._args[0]
        logger.debug("Loading images from folder: '%s'. with_hash: %s", self.location, with_hash)
        for idx, filename in enumerate(self.file_list):
            if idx in self._skip_list:
                logger.trace("Skipping frame %s due to skip list")
                continue
        If :class:`ImageIO` was initialized with :attr:`load_with_hash` set to ``True`` then
  
      def load(self):
          """ Generator for loading images from the given :attr:`location`
  
        If :class:`ImageIO` was initialized with :attr:`load_with_hash` set to ``True`` then
          the sha1 hash of the image is added as the final item in the output `tuple`.
  
          Yields
          ------
          filename: str
keep keep keep keep 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