          self.queues["out"].put(output)
  
      # <<< DETECTION IMAGE COMPILATION METHODS >>> #
      def compile_detection_image(self, image, is_square, scale_up):
          """ Compile the detection image """
          scale = self.set_scale(image, is_square=is_square, scale_up=scale_up)
          return [self.set_detect_image(image, scale), scale]
 
</s> remove             rotation=rotation)
 </s> add             rotation=rotation,
            min_size=min_size) </s> remove     def __init__(self, loglevel, rotation=None):
        logger.debug("Initializing %s: (rotation: %s)", self.__class__.__name__, rotation)
 </s> add     def __init__(self, loglevel, rotation=None, min_size=0):
        logger.debug("Initializing %s: (rotation: %s, min_size: %s)",
                     self.__class__.__name__, rotation, min_size) </s> remove         rotation = None
        if hasattr(self.args, "rotate_images"):
            rotation = self.args.rotate_images
 </s> add         rotation = self.args.rotate_images if hasattr(self.args, "rotate_images") else None
        # Min acceptable face size:
        min_size = self.args.min_size if hasattr(self.args, "min_size") else 0
    def filter_small_faces(self, detected_faces):
        """ Filter out any faces smaller than the min size threshold """
        retval = list()
        for face in detected_faces:
            face_size = ((face.right() - face.left()) ** 2 +
                         (face.bottom() - face.top()) ** 2) ** 0.5
            if face_size < self.min_size:
                logger.debug("Removing detected face: (face_size: %s, min_size: %s",
                             face_size, self.min_size)
                continue
            retval.append(face)
        return retval

          self.queues["out"].put(output)
  
    def filter_small_faces(self, detected_faces):
        """ Filter out any faces smaller than the min size threshold """
        retval = list()
        for face in detected_faces:
            face_size = ((face.right() - face.left()) ** 2 +
                         (face.bottom() - face.top()) ** 2) ** 0.5
            if face_size < self.min_size:
                logger.debug("Removing detected face: (face_size: %s, min_size: %s",
                             face_size, self.min_size)
                continue
            retval.append(face)
        return retval

      # <<< DETECTION IMAGE COMPILATION METHODS >>> #
      def compile_detection_image(self, image, is_square, scale_up):
          """ Compile the detection image """
          scale = self.set_scale(image, is_square=is_square, scale_up=scale_up)
          return [self.set_detect_image(image, scale), scale]
keep add keep keep keep keep keep
 Add "Minumum Size" filter for extract 
plugins/extract/detect/_base.py