  
      def process(self, output_item):
          """ Draw landmarks on image """
          for idx, detected_face in enumerate(output_item["detected_faces"]):
              face = detected_face["face"]
              logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s",
                           detected_face["file_location"].parts[-1], 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             face = detected_face["face"]
 </s> add             face = detected_face.aligned_face </s> remove         self._thread.join()
 </s> add         if self._thread is not None:
            self._thread.join()
            face = detected_face.aligned_face
  
      def process(self, output_item):
          """ Draw landmarks on image """
          for idx, detected_face in enumerate(output_item["detected_faces"]):
            face = detected_face.aligned_face
              logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s",
                           detected_face["file_location"].parts[-1], 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 keep keep keep keep keep
 extract bugfixes - post_processing, correctly reference aligned face 
scripts/fsmedia.py