  
          return [(int(pt[0]), int(pt[1])) for pt in pts_img]
  
  
  class Extract(object):
      """ Extracts faces from an image, crops and
          calculates landmarks """
  
      def __init__(self, input_image_bgr, detector, mtcnn_kwargs=None,
                   verbose=False, input_is_predetected_face=False):
 
</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         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 class Align(object):
 </s> add class Align(): </s> remove class Faces(object):
 </s> add class Faces():
class Extract():
  
          return [(int(pt[0]), int(pt[1])) for pt in pts_img]
  
  
class Extract():
      """ Extracts faces from an image, crops and
          calculates landmarks """
  
      def __init__(self, input_image_bgr, detector, mtcnn_kwargs=None,
                   verbose=False, input_is_predetected_face=False):
keep keep keep keep replace keep keep keep keep keep
 Add option to change dlib-cnn buffer size 
lib/face_alignment/extractor.py