      @staticmethod
      def _normalize_hist(face):
          """ Equalize the RGB histogram channels """
          for chan in range(3):
              face[:, :, chan] = cv2.equalizeHist(face[:, :, chan])  # pylint: disable=no-member
          return face
  
      @staticmethod
      def _normalize_clahe(face):
          """ Perform Contrast Limited Adaptive Histogram Equalization """
 
</s> remove         clahe = cv2.createCLAHE(clipLimit=2.0,  # pylint: disable=no-member
 </s> add         clahe = cv2.createCLAHE(clipLimit=2.0, </s> remove         retval = cv2.Laplacian(image, cv2.CV_64F).var()  # pylint: disable=no-member
 </s> add         retval = cv2.Laplacian(image, cv2.CV_64F).var() </s> remove             cvt_image = image.copy()
 </s> add             cvt_image = image[..., :3].copy() </s> remove         feed_faces = np.stack([detected_face.feed_face for detected_face in detected_faces])
 </s> add         feed_faces = np.stack([detected_face.feed_face[..., :3]
                               for detected_face in detected_faces]) / 255.0 </s> remove         """ Convert the image to the correct color format """
 </s> add         """ Convert the image to the correct color format and strip alpha channel """
            face[:, :, chan] = cv2.equalizeHist(face[:, :, chan])
      @staticmethod
      def _normalize_hist(face):
          """ Equalize the RGB histogram channels """
          for chan in range(3):
            face[:, :, chan] = cv2.equalizeHist(face[:, :, chan])
          return face
  
      @staticmethod
      def _normalize_clahe(face):
          """ Perform Contrast Limited Adaptive Histogram Equalization """
keep keep keep keep replace keep keep keep keep keep
 Smart Mask - Extract code review

- Lint simple_tests.py
- Only reformat alignments file if it exists otherwise change filename
- Update legacy alignments to new format at all stages
- faces_detect.Mask.from_dict - logging format fix
- convert.py fix otf for new pipeline
- cli.py - Add note that masks not used. Revert convert masks
- faces_detect.py - Revert non-extract code
- Add .p and .pickle extensions for serializer
- plugins/extract revert some changes
- scripts/fsmedia - Revert code changes
- Pipeline - cleanup
- Consistant alpha channel stripping (fixes single-process)
- Store landmarks as numpy array
- Code attribution
- Normalize feed face and reference face to 0.0 - 1.0 in convert
- Lock in mask VRAM sized
- Add documentation to plugin_loader
- Update alignments tool to work with new format 
plugins/extract/align/_base.py