          return dict()
  
      def load_image(self, filename):
          """ Load an image """
          if self.vid_reader is not None:
              image = self.load_video_frame(filename)
          else:
              src = os.path.join(self.folder, filename)
              logger.trace("Loading image: '%s'", src)
              image = cv2_read_img(src, raise_error=True)
 
</s> remove         if self.vid_reader is not None:
 </s> add         if self.is_video: </s> remove         filename = "{}_{}.txt".format(self.output_message.replace(" ", "_").lower(), now)
        output_file = os.path.join(self.source_dir, filename)
 </s> add         dst_dir = self.get_output_folder()
        filename = "{}{}_{}.txt".format(self.get_filename_prefix(),
                                        self.output_message.replace(" ", "_").lower(),
                                        now)
        output_file = os.path.join(dst_dir, filename) </s> remove         if self.frames.vid_cap:
            dest_folder = os.path.split(self.frames.folder)[0]
 </s> add         if self.frames.is_video:
            dest_folder = os.path.dirname(self.frames.folder)
        if self.is_video:
          return dict()
  
      def load_image(self, filename):
          """ Load an image """
        if self.is_video:
              image = self.load_video_frame(filename)
          else:
              src = os.path.join(self.folder, filename)
              logger.trace("Loading image: '%s'", src)
              image = cv2_read_img(src, raise_error=True)
keep keep keep keep replace keep keep keep keep keep
 Fix output for alignments tool tasks when input is a video 
tools/lib_alignments/media.py