          return
  
      def process_input(self, batch):
          """ No pre-processing for Manual. Just set a dummy feed """
          batch["feed"] = batch["scaled_image"]
          return batch
  
      def predict(self, batch):
          """ No prediction for Manual """
          batch["prediction"] = [np.array(batch["manual_face"])]
 
</s> remove         batch["feed"] = self.model.prepare_batch(batch["scaled_image"])
 </s> add         batch["feed"] = self.model.prepare_batch(batch["image"]) </s> remove         batch["feed"] = (batch["scaled_image"] - 127.5) / 127.5
 </s> add         batch["feed"] = (batch["image"] - 127.5) / 127.5 </s> remove         faces, batch["roi"] = self.align_image(batch["detected_faces"])
 </s> add         faces, batch["roi"] = self.align_image(batch) </s> remove         batch["feed"] = cv2.dnn.blobFromImages(batch["scaled_image"],  # pylint: disable=no-member
 </s> add         batch["feed"] = cv2.dnn.blobFromImages(batch["image"],  # pylint: disable=no-member </s> remove     def align_image(self, detected_faces):
 </s> add     def align_image(self, batch):
        batch["feed"] = batch["image"]
          return
  
      def process_input(self, batch):
          """ No pre-processing for Manual. Just set a dummy feed """
        batch["feed"] = batch["image"]
          return batch
  
      def predict(self, batch):
          """ No prediction for Manual """
          batch["prediction"] = [np.array(batch["manual_face"])]
keep keep keep keep replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
plugins/extract/detect/manual.py