          Extract Only """
  
      def process(self, output_item):
          """ Draw landmarks on image """
          frame = os.path.splitext(os.path.basename(output_item["filename"]))[0]
          for idx, face in enumerate(output_item["detected_faces"]):
              logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s", frame, idx)
              aligned_landmarks = face.aligned_landmarks
              for (pos_x, pos_y) in aligned_landmarks:
                  cv2.circle(face.aligned_face, (pos_x, pos_y), 2, (0, 0, 255), -1)
  
 
</s> remove     def process(self, output_item):
 </s> add     def process(self, extract_media): </s> remove     def process(self, output_item):
 </s> add     def process(self, extract_media): </s> remove             check_item.load_aligned(output_item["image"])
 </s> add             check_item.load_aligned(extract_media.image) </s> remove         for idx, detect_face in enumerate(output_item["detected_faces"]):
 </s> add         for idx, detect_face in enumerate(extract_media.detected_faces): </s> remove         filename, extension = os.path.splitext(os.path.basename(faces["filename"]))
        for idx, face in enumerate(faces["detected_faces"]):
 </s> add         filename, extension = os.path.splitext(os.path.basename(extract_media.filename))
        for idx, face in enumerate(extract_media.detected_faces):
        frame = os.path.splitext(os.path.basename(extract_media.filename))[0]
        for idx, face in enumerate(extract_media.detected_faces):
          Extract Only """
  
      def process(self, output_item):
          """ Draw landmarks on image """
        frame = os.path.splitext(os.path.basename(extract_media.filename))[0]
        for idx, face in enumerate(extract_media.detected_faces):
        frame = os.path.splitext(os.path.basename(extract_media.filename))[0]
        for idx, face in enumerate(extract_media.detected_faces):
              logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s", frame, idx)
              aligned_landmarks = face.aligned_landmarks
              for (pos_x, pos_y) in aligned_landmarks:
                  cv2.circle(face.aligned_face, (pos_x, pos_y), 2, (0, 0, 255), -1)
  
keep keep keep keep replace replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
scripts/fsmedia.py