          output_file = faces["output_file"]
  
          for idx, face in enumerate(faces["detected_faces"]):
              if self.export_face:
                  save_queue.put((filename,
                                  output_file,
                                  detected_face.aligned_face,
                                  idx))
 
</s> remove                                 face.aligned_face,
 </s> add                                 detected_face.aligned_face, </s> remove             final_faces.append(face.to_alignment())
 </s> add             final_faces.append(detected_face.to_alignment()) </s> remove                   "out_queue": out_queue,
                  "detected_face": DetectedFace()}  # Passed in to avoid race condition
 </s> add                   "out_queue": out_queue} </s> remove         # Detected_Face Object. Passed in from initialization to avoid race condition
        self.obj_detected_face = None

 </s> add 
            detected_face = self.align_face(image, face, align_eyes, size)

          output_file = faces["output_file"]
  
          for idx, face in enumerate(faces["detected_faces"]):
            detected_face = self.align_face(image, face, align_eyes, size)

              if self.export_face:
                  save_queue.put((filename,
                                  output_file,
                                  detected_face.aligned_face,
                                  idx))
keep keep add keep keep keep keep keep
 Remove DetectedFace object from plugins due to multiprocess error 
scripts/extract.py