          except:
              print('Input directory not found. Please ensure it exists.')
              exit(1)
  
          self.images_found = len(self.input_dir)
          self.filter = self.load_filter()
          self.process()
          self.finalize()
          
      def read_directory(self):
 
</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     def check_skip(self, filename):
 </s> add     def check_skipframe(self, filename): </s> remove         for face in detect_faces(image):
 </s> add         for face in detect_faces(image, self.arguments.detector): </s> remove 
 </s> add         except Exception as e:
            print(e)
            exit(1)
     </s> remove         # Original model goes with Adjust or Masked converter
        # does the LowMem one work with only one? 
        # seems to work with both in testing - although Adjust with LowMem 
        # looks a real mess - you can see that it is "working"
 </s> add         # Original & LowMem models go with Adjust or Masked converter
          except:
              print('Input directory not found. Please ensure it exists.')
              exit(1)
  

          self.filter = self.load_filter()
          self.process()
          self.finalize()
          
      def read_directory(self):
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