              COMPILE_DLIB_WITH_AVX_CUDA = True
          else:
              COMPILE_DLIB_WITH_AVX_CUDA = False
  
  def Install_Missing_Dep():
      global Missing_Packages
      if len(Missing_Packages):
          INFO("""Installing Required Python Packages. This may take some time...""")
          try:
              from pip._internal import main as pipmain
          except:
              from pip import main as pipmain
          for m in Missing_Packages:
 
</s> remove         for m in Missing_Packages:
            msg = "Installing {}".format(m)
            INFO(msg)
 </s> add         for pkg in MISSING_PACKAGES:
            msg = "Installing {}".format(pkg)
            out_info(msg) </s> remove         if i == "" or i == "Y" or i == "y":
            INFO("dlib Configured")
            WARNING("Make sure you are using gcc-5/g++-5 and CUDA bin/lib in path")
 </s> add         if i in ("", "Y", "y"):
            out_info("dlib Configured")
            out_warning("Make sure you are using gcc-5/g++-5 "
                        "and CUDA bin/lib in path") </s> remove         try: # for pip >= 10
            from pip._internal.utils.misc import get_installed_distributions, get_installed_version
        except ImportError: # for pip <= 9.0.3
            from pip.utils import get_installed_distributions, get_installed_version
        global Installed_Packages
        Installed_Packages = {pkg.project_name:pkg.version for pkg in get_installed_distributions()}
        INFO("Installed PIP: " + get_installed_version("pip"))
 </s> add         try:  # for pip >= 10
            from pip._internal.utils.misc import (get_installed_distributions,
                                                  get_installed_version)
        except ImportError:  # for pip <= 9.0.3
            from pip.utils import (get_installed_distributions,
                                   get_installed_version)
        global INSTALLED_PACKAGES
        INSTALLED_PACKAGES = {pkg.project_name: pkg.version
                              for pkg in get_installed_distributions()}
        out_info("Installed PIP: " + get_installed_version("pip")) </s> remove def Check_dlib():
    global Missing_Packages, COMPILE_DLIB_WITH_AVX_CUDA
    if "dlib" in Missing_Packages:
 </s> add def check_dlib():
    """ Check dlib install requirements """
    global MISSING_PACKAGES, COMPILE_DLIB_WITH_AVX_CUDA
    if "dlib" in MISSING_PACKAGES: </s> remove def Check_PIP():
 </s> add     out_error("Please run this script with Python3 64bit and try again.")
    return False


def check_pip():
    """ Check installed pip version """
def install_missing_dep():
    """ Install missing dependencies """
    global MISSING_PACKAGES
    if MISSING_PACKAGES:
        out_info("Installing Required Python Packages. "
                 "This may take some time...")
              COMPILE_DLIB_WITH_AVX_CUDA = True
          else:
              COMPILE_DLIB_WITH_AVX_CUDA = False
  
def install_missing_dep():
    """ Install missing dependencies """
    global MISSING_PACKAGES
    if MISSING_PACKAGES:
        out_info("Installing Required Python Packages. "
                 "This may take some time...")
def install_missing_dep():
    """ Install missing dependencies """
    global MISSING_PACKAGES
    if MISSING_PACKAGES:
        out_info("Installing Required Python Packages. "
                 "This may take some time...")
def install_missing_dep():
    """ Install missing dependencies """
    global MISSING_PACKAGES
    if MISSING_PACKAGES:
        out_info("Installing Required Python Packages. "
                 "This may take some time...")
def install_missing_dep():
    """ Install missing dependencies """
    global MISSING_PACKAGES
    if MISSING_PACKAGES:
        out_info("Installing Required Python Packages. "
                 "This may take some time...")
          try:
              from pip._internal import main as pipmain
          except:
              from pip import main as pipmain
          for m in Missing_Packages:
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Extraction - Speed improvements (#522) (#523)

* Extraction - Speed improvements (#522)

* Initial Plugin restructure

* Detectors to plugins. Detector speed improvements

* Re-implement dlib aligner, remove models, FAN to TF. Parallel processing

* Update manual, update convert, implement parallel/serial switching

* linting + fix cuda check (setup.py). requirements update keras 2.2.4

* Add extract size option. Fix dlib hog init

* GUI: Increase tooltip width

* Update alignment tool to support new DetectedFace

* Add skip existing faces option

* Fix sort tool to new plugin structure

* remove old align plugin

* fix convert -skip faces bug

* Fix convert skipping no faces frames

* Convert - draw onto transparent layer

* Fix blur threshold bug

* fix skip_faces convert bug

* Fix training 
setup.py