                  break
          
              left, top, right, bottom = d_rect.left(), d_rect.top(), d_rect.right(), d_rect.bottom()
              del d_rect
      
              center = np.array( [ (left + right) / 2.0, (top + bottom) / 2.0] )
              center[1] -= (bottom - top) * 0.12
 
</s> remove dlib_cnn_face_detector = None
dlib_face_detector = None
 </s> add dlib_detectors = [] </s> remove     if dlib_face_detector is None:
 </s> add 
            if type(d_rect) == dlib.mmod_rectangle:
                d_rect = d_rect.rect
            
                  break
          
            if type(d_rect) == dlib.mmod_rectangle:
                d_rect = d_rect.rect
            
              left, top, right, bottom = d_rect.left(), d_rect.top(), d_rect.right(), d_rect.bottom()
              del d_rect
      
              center = np.array( [ (left + right) / 2.0, (top + bottom) / 2.0] )
              center[1] -= (bottom - top) * 0.12
keep add keep keep keep keep keep
 fix #233, #237, + working with any batch size (#236)

* fix working with any batch size

* fix https://github.com/deepfakes/faceswap/issues/233 - primordial bug when dlib recognizes less faces than FakeApp, reason: rgb-bgr order affects chance of face recognition. Numpy.imread and cv2.imread loads same image in different rgb-bgr order.

fix https://github.com/deepfakes/faceswap/issues/237

* fix 
lib/FaceLandmarksExtractor/FaceLandmarksExtractor.py