                                 detected_faces=self.bounding_boxes,
                                 keras_model=self.keras,
                                 verbose=self.verbose).landmarks
  
      def initialize(self, detector, mtcnn_kwargs):
          """ initialize Keras and Dlib """
          if not VRAM.initialized:
              self.initialize_vram(detector)
  
          if not self.keras.initialized:
 
</s> remove             self.initialize_vram(detector)
 </s> add             self.initialize_vram(detector, dlib_buffer) </s> remove     def initialize_vram(self, detector):
 </s> add     def initialize_vram(self, detector, dlib_buffer): </s> remove         faces = detect_faces(image, self.args.detector, self.args.verbose,
                             rotation=rotation, mtcnn_kwargs=self.mtcnn_kwargs)
 </s> add         faces = detect_faces(image,
                             self.args.detector,
                             self.args.verbose,
                             rotation=rotation,
                             dlib_buffer=self.args.dlib_buffer,
                             mtcnn_kwargs=self.mtcnn_kwargs) </s> remove def detect_faces(frame, detector, verbose, rotation=0, mtcnn_kwargs=None):
 </s> add def detect_faces(frame, detector, verbose, rotation=0,
                 dlib_buffer=64, mtcnn_kwargs=None): </s> remove     def __init__(self, input_image_bgr, detector, mtcnn_kwargs=None,
                 verbose=False, input_is_predetected_face=False):
 </s> add     def __init__(self, input_image_bgr, detector, dlib_buffer=64,
                 mtcnn_kwargs=None, verbose=False,
                 input_is_predetected_face=False):
    def initialize(self, detector, mtcnn_kwargs, dlib_buffer):
                                 detected_faces=self.bounding_boxes,
                                 keras_model=self.keras,
                                 verbose=self.verbose).landmarks
  
    def initialize(self, detector, mtcnn_kwargs, dlib_buffer):
          """ initialize Keras and Dlib """
          if not VRAM.initialized:
              self.initialize_vram(detector)
  
          if not self.keras.initialized:
keep keep keep keep replace keep keep keep keep keep
 Add option to change dlib-cnn buffer size 
lib/face_alignment/extractor.py