      exit(1)
  
  ### <<< OUTPUT
  
  def Check_Permission():
      import ctypes, os
      global IS_ADMIN
      try:
          IS_ADMIN = os.getuid() == 0
      except AttributeError:
          IS_ADMIN = ctypes.windll.shell32.IsUserAnAdmin() != 0
 
</s> remove ### <<< OUTPUT
 </s> add # <<< OUTPUT </s> remove         INFO("Running as Root/Admin")
 </s> add         out_info("Running as Root/Admin") </s> remove         WARNING("Running without root/admin privileges")
 </s> add         out_warning("Running without root/admin privileges")
 </s> remove OS_Version = (platform.system(), platform.release())
Py_Version = (platform.python_version(), platform.architecture()[0])
Is_MacOS = (platform.system() == 'Darwin')
 </s> add OS_VERSION = (platform.system(), platform.release())
PY_VERSION = (platform.python_version(), platform.architecture()[0])
IS_MACOS = (platform.system() == 'Darwin') </s> remove ### <<< ENV
 </s> add # <<< ENV
def check_permission():
    """ Check for Admin permissions """
    import ctypes
      exit(1)
  
  ### <<< OUTPUT
  
def check_permission():
    """ Check for Admin permissions """
    import ctypes
def check_permission():
    """ Check for Admin permissions """
    import ctypes
      global IS_ADMIN
      try:
          IS_ADMIN = os.getuid() == 0
      except AttributeError:
          IS_ADMIN = ctypes.windll.shell32.IsUserAnAdmin() != 0
keep keep keep keep 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