                  idx += 1
                  if idx == self.batchsize:
                      frame_faces = len(item.detected_faces)
                      if f_idx + 1 != frame_faces:
                          self._rollover = ExtractMedia(item.filename, item.image)
                          self._rollover.add_detected_faces(item.detected_faces[f_idx + 1:])
                          logger.trace("Rolled over %s faces of %s to next batch for '%s'",
                                       len(self._rollover.detected_faces), frame_faces,
                                       item.filename)
                      break
          if batch:
 
</s> remove                         self._rollover = ExtractMedia(item.filename, item.image)
                        self._rollover.add_detected_faces(item.detected_faces[f_idx + 1:])
 </s> add                         self._rollover = ExtractMedia(
                            item.filename,
                            item.image,
                            detected_faces=item.detected_faces[f_idx + 1:]) </s> remove         logger.trace("Building faces panel. (total_faces: %s", total_faces)
 </s> add         logger.trace("Building faces panel. (total_faces: %s)", total_faces) </s> remove                             and item.name.endswith(".py")
                            and item.name != "manual.py")
 </s> add                             and item.name.endswith(".py")) </s> remove         # Set the batchsizes to 1
        for plugin_type in ("detect", "align"):
            extractor.set_batchsize(plugin_type, 1)
 </s> add         # Set the batchsize to 1
        extractor.set_batchsize("align", 1) </s> remove         extractor = Extractor("manual", "fan", None, multiprocess=True, normalize_method="hist")
 </s> add         extractor = Extractor(None, "fan", None, multiprocess=True, normalize_method="hist")
                        self._rollover = ExtractMedia(
                            item.filename,
                            item.image,
                            detected_faces=item.detected_faces[f_idx + 1:])
                  idx += 1
                  if idx == self.batchsize:
                      frame_faces = len(item.detected_faces)
                      if f_idx + 1 != frame_faces:
                        self._rollover = ExtractMedia(
                            item.filename,
                            item.image,
                            detected_faces=item.detected_faces[f_idx + 1:])
                        self._rollover = ExtractMedia(
                            item.filename,
                            item.image,
                            detected_faces=item.detected_faces[f_idx + 1:])
                          logger.trace("Rolled over %s faces of %s to next batch for '%s'",
                                       len(self._rollover.detected_faces), frame_faces,
                                       item.filename)
                      break
          if batch:
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix - Manual tool. Use new ExtractMedia class 
plugins/extract/align/_base.py