  from lib.align_eyes import align_eyes as func_align_eyes, FACIAL_LANDMARKS_IDXS
  
  MEAN_FACE_X = np.array([
      0.000213256, 0.0752622, 0.18113, 0.29077, 0.393397, 0.586856, 0.689483,
      0.799124, 0.904991, 0.98004, 0.490127, 0.490127, 0.490127, 0.490127,
      0.36688, 0.426036, 0.490127, 0.554217, 0.613373, 0.121737, 0.187122,
 
</s> remove from lib.detect_blur import is_blurry
from lib.FaceFilter import FaceFilter as FilterFunc
 </s> add from lib.face_filter import FaceFilter as FilterFunc </s> remove from ._base import Detector, dlib
 </s> add from ._base import Detector, dlib, logger


# Must import tensorflow inside the spawned process
# for Windows machines
tf = None  # pylint: disable = invalid-name


def import_tensorflow():
    """ Import tensorflow from inside spawned process """
    global tf  # pylint: disable = invalid-name,global-statement
    import tensorflow as tflow
    tf = tflow </s> remove import tensorflow as tf
 </s> add 
logger = logging.getLogger(__name__)  # pylint: disable=invalid-name



  from lib.align_eyes import align_eyes as func_align_eyes, FACIAL_LANDMARKS_IDXS
  
logger = logging.getLogger(__name__)  # pylint: disable=invalid-name


  MEAN_FACE_X = np.array([
      0.000213256, 0.0752622, 0.18113, 0.29077, 0.393397, 0.586856, 0.689483,
      0.799124, 0.904991, 0.98004, 0.490127, 0.490127, 0.490127, 0.490127,
      0.36688, 0.426036, 0.490127, 0.554217, 0.613373, 0.121737, 0.187122,
keep add keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
lib/aligner.py