  
          if not self.detector.initialized:
              self.initialize_detector(detector, mtcnn_kwargs)
  
      def initialize_vram(self, detector):
          """ Initialize vram based on detector """
          VRAM.verbose = self.verbose
          VRAM.detector = detector
          VRAM.initialized = True
          VRAM.output_stats()
 
</s> remove         buffer = 64  # 64MB overhead buffer
 </s> add  </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         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         self.initialize(detector, mtcnn_kwargs)
 </s> add         self.initialize(detector, mtcnn_kwargs, dlib_buffer)
    def initialize_vram(self, detector, dlib_buffer):
  
          if not self.detector.initialized:
              self.initialize_detector(detector, mtcnn_kwargs)
  
    def initialize_vram(self, detector, dlib_buffer):
          """ Initialize vram based on detector """
          VRAM.verbose = self.verbose
          VRAM.detector = detector
          VRAM.initialized = True
          VRAM.output_stats()
keep keep keep keep replace keep keep keep keep keep
 Add option to change dlib-cnn buffer size 
lib/face_alignment/extractor.py