  
          max_size = minimum_dimension * self._max_scale
          min_size = minimum_dimension * self._min_scale
          retval: List[DetectedFace] = []
          for face in faces:
              test = AlignedFace(landmarks=face.landmarks_xy, centering="face")
              if self._min_scale > 0.0 or self._max_scale > 0.0:
                  roi = test.original_roi
                  size = ((roi[1][0] - roi[0][0]) ** 2 + (roi[1][1] - roi[0][1]) ** 2) ** 0.5
                  if self._min_scale > 0.0 and size < min_size:
 
</s> remove             return faces
 </s> add             return faces, sub_folders
        for idx, face in enumerate(faces):
  
          max_size = minimum_dimension * self._max_scale
          min_size = minimum_dimension * self._min_scale
          retval: List[DetectedFace] = []
        for idx, face in enumerate(faces):
              test = AlignedFace(landmarks=face.landmarks_xy, centering="face")
              if self._min_scale > 0.0 or self._max_scale > 0.0:
                  roi = test.original_roi
                  size = ((roi[1][0] - roi[0][0]) ** 2 + (roi[1][1] - roi[0][1]) ** 2) ** 0.5
                  if self._min_scale > 0.0 and size < min_size:
keep keep keep keep replace keep keep keep keep keep
 Extract filter: Allow saving of filtered images 
plugins/extract/align/_base.py