      def launch_detector(self):
          """ Launch the face detector """
          out_queue = queue_manager.get_queue("detect")
          kwargs = {"in_queue": queue_manager.get_queue("load"),
                    "out_queue": out_queue,
                    "detected_face": DetectedFace()}  # Passed in to avoid race condition
  
          if self.args.detector == "mtcnn":
              mtcnn_kwargs = self.detector.validate_kwargs(
                  self.get_mtcnn_kwargs())
              kwargs["mtcnn_kwargs"] = mtcnn_kwargs
 
</s> remove         # Detected_Face Object. Passed in from initialization to avoid race condition
        self.obj_detected_face = None

 </s> add  </s> remove             verbose=self.args.verbose,
            align_eyes=align_eyes,
            size=size)
 </s> add             verbose=self.args.verbose) </s> remove         self.obj_detected_face = kwargs["detected_face"]
 </s> add  </s> remove     def to_detected_face(self, image, dlib_rects):
        """ Convert list of dlib rectangles to a
            list of DetectedFace objects
            and add the cropped face """
        retval = list()
        for d_rect in dlib_rects:
            if not isinstance(
                    d_rect,
                    dlib.rectangle):  # pylint: disable=c-extension-no-member
                retval.append(list())
                continue
            this_face = copy(self.obj_detected_face)
            this_face.from_dlib_rect(d_rect)
            this_face.image_to_face(image)
            this_face.frame_dims = image.shape[:2]
            retval.append(this_face)
        return retval

 </s> add  </s> remove         # Align Eyes
        align_eyes = False
        if hasattr(self.args, 'align_eyes'):
            align_eyes = self.args.align_eyes

        # Extracted Face Size
        size = 256
        if hasattr(self.args, 'size'):
            size = self.args.size

 </s> add 
                  "out_queue": out_queue}
      def launch_detector(self):
          """ Launch the face detector """
          out_queue = queue_manager.get_queue("detect")
          kwargs = {"in_queue": queue_manager.get_queue("load"),
                  "out_queue": out_queue}
                  "out_queue": out_queue}
  
          if self.args.detector == "mtcnn":
              mtcnn_kwargs = self.detector.validate_kwargs(
                  self.get_mtcnn_kwargs())
              kwargs["mtcnn_kwargs"] = mtcnn_kwargs
keep keep keep keep replace replace keep keep keep keep keep
 Remove DetectedFace object from plugins due to multiprocess error 
scripts/extract.py