  
      def finalize(self):
          print('-------------------------')
          print('Images found:        {}'.format(self.images_found))
          print('Images processed:    {}'.format(self.images_processed))
          print('Faces detected:      {}'.format(self.faces_detected))
          print('-------------------------')
  
          if self.verify_output:
              print('Note:')
 
</s> remove         for filename in tqdm(self.input_dir):
            if self.arguments.verbose:
                print('Processing: {}'.format(os.path.basename(filename)))

            yield filename
            self.images_processed = self.images_processed + 1
 </s> add         self.images_found = len(self.input_dir)
        return self.input_dir </s> remove 
 </s> add         except Exception as e:
            print(e)
            exit(1)
     </s> remove             skip = self.check_skip(filename)

            if not skip: # process as normal
 </s> add             if not self.check_skipframe(filename): # process as normal </s> remove                 self.preview_buffer[name] = image
 </s> add                 with self.lock:
                    self.preview_buffer[name] = image
  
      def finalize(self):
          print('-------------------------')
          print('Images found:        {}'.format(self.images_found))

          print('Faces detected:      {}'.format(self.faces_detected))
          print('-------------------------')
  
          if self.verify_output:
              print('Note:')
keep keep keep keep replace keep keep keep keep keep
 Misc updates on master before GAN. Added multithreading + mmod face detector (#109)

* Preparing GAN plugin

* Adding multithreading for extract

* Adding support for mmod human face detector

* Adding face filter argument

* Added process number argument to multiprocessing extractor.

Fixed progressbar for multiprocessing.

* Added tiff as image type.
compression artefacts hurt my feelings.

* Cleanup 
lib/cli.py