  class DebugLandmarks(PostProcessAction):  # pylint: disable=too-few-public-methods
      """ Draw debug landmarks on face
          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
 
</s> remove         frame = os.path.splitext(os.path.basename(output_item["filename"]))[0]
        for idx, face in enumerate(output_item["detected_faces"]):
 </s> add         frame = os.path.splitext(os.path.basename(extract_media.filename))[0]
        for idx, face in enumerate(extract_media.detected_faces): </s> remove     def process(self, output_item):
 </s> add     def process(self, extract_media): </s> remove     """ Parent class for Post Processing Actions
        Usuable in Extract or Convert or both
 </s> add     """ Parent class for Post Processing Actions. Usable in Extract or Convert or both </s> remove             action.process(output_item)
 </s> add             action.process(extract_media) </s> remove     def process(self, output_item):
 </s> add     def process(self, extract_media):
    def process(self, extract_media):
  class DebugLandmarks(PostProcessAction):  # pylint: disable=too-few-public-methods
      """ Draw debug landmarks on face
          Extract Only """
  
    def process(self, extract_media):
          """ 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
keep keep keep keep replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
scripts/fsmedia.py