              # Put frames with no faces into the out queue to keep TQDM consistent
              if not item["detected_faces"]:
                  self._queues["out"].put(item)
                  continue
              for f_idx, face in enumerate(item["detected_faces"]):
                  face.image = self._convert_color(item["image"])
                  face.load_feed_face(face.image,
                                      size=self.input_size,
                                      coverage_ratio=1.0,
                                      dtype="float32",
                                      is_aligned_face=self._image_is_aligned)
                  batch.setdefault("detected_faces", []).append(face)
 
</s> remove             if not item["detected_faces"]:
 </s> add             if not item.detected_faces: </s> remove             if not item["detected_faces"]:
 </s> add             if not item.detected_faces: </s> remove             for f_idx, face in enumerate(item["detected_faces"]):
                face.image = self._convert_color(item["image"])
 </s> add             converted_image = item.get_image_copy(self.colorformat)
            for f_idx, face in enumerate(item.detected_faces):
                batch.setdefault("image", []).append(converted_image) </s> remove                 batch.setdefault("filename", []).append(item["filename"])
                batch.setdefault("image", []).append(item["image"])
 </s> add                 batch.setdefault("filename", []).append(item.filename) </s> remove                 batch.setdefault("filename", []).append(item["filename"])
                batch.setdefault("image", []).append(item["image"])
 </s> add                 batch.setdefault("filename", []).append(item.filename)
            for f_idx, face in enumerate(item.detected_faces):
                face.load_feed_face(item.get_image_copy(self.colorformat),
              # Put frames with no faces into the out queue to keep TQDM consistent
              if not item["detected_faces"]:
                  self._queues["out"].put(item)
                  continue
            for f_idx, face in enumerate(item.detected_faces):
                face.load_feed_face(item.get_image_copy(self.colorformat),
            for f_idx, face in enumerate(item.detected_faces):
                face.load_feed_face(item.get_image_copy(self.colorformat),
            for f_idx, face in enumerate(item.detected_faces):
                face.load_feed_face(item.get_image_copy(self.colorformat),
                                      size=self.input_size,
                                      coverage_ratio=1.0,
                                      dtype="float32",
                                      is_aligned_face=self._image_is_aligned)
                  batch.setdefault("detected_faces", []).append(face)
keep keep keep keep replace replace replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
plugins/extract/mask/_base.py