              logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s",
                           detected_face["file_location"].parts[-1], idx)
              aligned_landmarks = face.feed_landmarks
              for (pos_x, pos_y) in aligned_landmarks:
                  cv2.circle(face.feed_face,  # pylint: disable=no-member
                             (pos_x, pos_y), 2, (0, 0, 255, 255), -1)
  
  
  class FaceFilter(PostProcessAction):
      """ Filter in or out faces based on input image(s)
 
</s> remove             aligned_landmarks = face.feed_landmarks
 </s> add             aligned_landmarks = face.aligned_landmarks </s> remove             images = np.array([cv2.addWeighted(img,  # pylint: disable=no-member
                                               1.0, masks3[idx], 0.3, 0)
 </s> add             images = np.array([cv2.addWeighted(img, 1.0,  # pylint: disable=no-member
                                               masks3[idx], 0.3,
                                               0) </s> remove         feed_faces = np.stack([detected_face.feed_face / 255. for detected_face in detected_faces])
 </s> add         feed_faces = np.stack([detected_face.feed_face for detected_face in detected_faces]) </s> remove         figure = np.concatenate((header, figure), axis=0)
 </s> add         figure = np.vstack((header, figure)) </s> remove         final_faces = list()
        for detected_face in faces["detected_faces"]:
            filename = self.output_dir / Path(detected_face.filename).stem
            final_faces.append({"file_location": filename,
                                "face": detected_face})
        faces["detected_faces"] = final_faces
 </s> add         self.align_face(faces, size, filename)
                cv2.circle(face.feed_landmarks,  # pylint: disable=no-member
              logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s",
                           detected_face["file_location"].parts[-1], idx)
              aligned_landmarks = face.feed_landmarks
              for (pos_x, pos_y) in aligned_landmarks:
                cv2.circle(face.feed_landmarks,  # pylint: disable=no-member
                             (pos_x, pos_y), 2, (0, 0, 255, 255), -1)
  
  
  class FaceFilter(PostProcessAction):
      """ Filter in or out faces based on input image(s)
keep keep keep keep replace keep keep keep keep keep
 Serialize masks to alignments file

- Add new serializers (npy + compressed)
- Remove Serializer option from cli
- Revert get_aligned call in scripts/extract
- Default alignments to compressed
- Size masks to 128px and compress
- Remove mask thresholding/blur from generation code
- Add Mask class to lib/faces_detect
- Revert debug landmarks to aligned face
- Revert non-extraction code to staging version 
scripts/fsmedia.py