  
  from pathlib import Path
  from scandir import scandir
  
  image_extensions = [".jpg", ".jpeg", ".png"]
  
  def get_folder(path):
      output_dir = Path(path)
      output_dir.mkdir(parents=True, exist_ok=True)
      return output_dir
 
</s> remove from lib.faces_detect import detect_faces
 </s> add  </s> remove     images_processed = 0
 </s> add 
image_extensions = [".jpg", ".jpeg", ".png", ".tif", ".tiff"]
  
  from pathlib import Path
  from scandir import scandir
  
image_extensions = [".jpg", ".jpeg", ".png", ".tif", ".tiff"]
  
  def get_folder(path):
      output_dir = Path(path)
      output_dir.mkdir(parents=True, exist_ok=True)
      return output_dir
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/utils.py