      """ Object to hold the frames that are to be checked against """
  
      def process_folder(self):
          """ Iterate through the frames dir pulling the base filename """
          iterator = self.process_video if self.vid_reader is not None else self.process_frames
          for item in iterator():
              yield item
  
      def process_frames(self):
          """ Process exported Frames """
 
</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.vid_reader is not None:
 </s> add         if self.is_video:
        iterator = self.process_video if self.is_video else self.process_frames
      """ Object to hold the frames that are to be checked against """
  
      def process_folder(self):
          """ Iterate through the frames dir pulling the base filename """
        iterator = self.process_video if self.is_video else self.process_frames
          for item in iterator():
              yield item
  
      def process_frames(self):
          """ Process exported Frames """
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