      @staticmethod
      def get_feature_mask(aligned_landmarks_68, size,
                           padding=0, dilation=30):
          """ Return the face feature mask """
          # pylint: disable=no-member
          logger.trace("aligned_landmarks_68: %s, size: %s, padding: %s, dilation: %s",
                       aligned_landmarks_68, size, padding, dilation)
          scale = size - 2 * padding
          translation = padding
          pad_mat = np.matrix([[scale, 0.0, translation],
 
</s> remove     def get_feature_mask(aligned_landmarks_68, size,
                         padding=0, dilation=30):
 </s> add     def get_feature_mask(aligned_landmarks_68, size, padding=0, dilation=30):
 </s> remove         pad_mat = np.matrix([[scale, 0.0, translation],
                             [0.0, scale, translation]])
 </s> add         pad_mat = np.matrix([[scale, 0.0, translation], [0.0, scale, translation]])
 </s> remove         aligned_landmarks_68 = cv2.transform(aligned_landmarks_68,
 </s> add         aligned_landmarks_68 = cv2.transform(aligned_landmarks_68,  # pylint: disable=no-member
 </s> remove         points = np.array([[0, 0],
                           [0, size - 1],
                           [size - 1, size - 1],
                           [size - 1, 0]], np.int32)
 </s> add         points = np.array([[0, 0], [0, size - 1], [size - 1, size - 1], [size - 1, 0]], np.int32)
 </s> remove             logger.trace("Loading aligned face: (size: %s, align_eyes: %s, dtype: %s)",
                         size, align_eyes, dtype)
 </s> add             logger.trace("Loading aligned face: (size: %s, dtype: %s)", size, dtype)
      @staticmethod
      def get_feature_mask(aligned_landmarks_68, size,
                           padding=0, dilation=30):
          """ Return the face feature mask """

          logger.trace("aligned_landmarks_68: %s, size: %s, padding: %s, dilation: %s",
                       aligned_landmarks_68, size, padding, dilation)
          scale = size - 2 * padding
          translation = padding
          pad_mat = np.matrix([[scale, 0.0, translation],
keep keep keep keep replace keep keep keep keep keep
 Align eyes deprecation (#851)

* align eyes removal

* add align_eyes tool 
lib/aligner.py