  VRAM = GPUMem()
  KERAS_MODEL = KerasModel()
  
  
  class Frame(object):
      """ The current frame for processing """
  
      def __init__(self, detector, input_image,
                   verbose, input_is_predetected_face):
          self.verbose = verbose
 
</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): </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 class Align(object):
 </s> add class Align(): </s> remove         self.initialize(detector, mtcnn_kwargs)
 </s> add         self.initialize(detector, mtcnn_kwargs, dlib_buffer) </s> remove     def initialize_vram(self, detector):
 </s> add     def initialize_vram(self, detector, dlib_buffer):
class Frame():
  VRAM = GPUMem()
  KERAS_MODEL = KerasModel()
  
  
class Frame():
      """ The current frame for processing """
  
      def __init__(self, detector, input_image,
                   verbose, input_is_predetected_face):
          self.verbose = verbose
keep keep keep keep replace keep keep keep keep keep
 Add option to change dlib-cnn buffer size 
lib/face_alignment/extractor.py