      @staticmethod
      def variance_of_laplacian(image):
          """ Compute the Laplacian of the image and then return the focus
              measure, which is simply the variance of the Laplacian """
          retval = cv2.Laplacian(image, cv2.CV_64F).var()  # pylint: disable=no-member
          logger.trace("Returning: %s", retval)
          return retval
  
  
  class DebugLandmarks(PostProcessAction):  # pylint: disable=too-few-public-methods
 
</s> remove         gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)  # pylint: disable=no-member
 </s> add         gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) </s> remove             retval = [None]
 </s> add             retval = [getattr(self, "_{}".format(self.phase))] </s> remove         qname_dict = dict(detect="extract_align_in",
                          align="extract_mask_in",
                          mask="extract_mask_out")
        qname = "extract_mask_out" if self.final_pass else qname_dict[self.phase]
 </s> add         if self.final_pass:
            qname = "extract_{}_out".format(self._final_phase)
        else:
            qname = "extract_{}_in".format(self._next_phase) </s> remove             face[:, :, chan] = cv2.equalizeHist(face[:, :, chan])  # pylint: disable=no-member
 </s> add             face[:, :, chan] = cv2.equalizeHist(face[:, :, chan])
        retval = cv2.Laplacian(image, cv2.CV_64F).var()
      @staticmethod
      def variance_of_laplacian(image):
          """ Compute the Laplacian of the image and then return the focus
              measure, which is simply the variance of the Laplacian """
        retval = cv2.Laplacian(image, cv2.CV_64F).var()
          logger.trace("Returning: %s", retval)
          return retval
  
  
  class DebugLandmarks(PostProcessAction):  # pylint: disable=too-few-public-methods
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 
scripts/fsmedia.py