      avg_scale = (x_scale + y_scale) * 0.5
      if avg_scale >= 1.:
          interpolators = cv2.INTER_CUBIC, cv2.INTER_AREA  # pylint: disable=no-member
      else:
          interpolators = cv2.INTER_AREA, cv2.INTER_CUBIC  # pylint: disable=no-member
      logger.trace("interpolator: %s, inverse interpolator: %s", interpolators[0], interpolators[1])
      return interpolators
  
  
  def get_align_mat(face):
 
</s> remove         interpolators = cv2.INTER_CUBIC, cv2.INTER_AREA  # pylint: disable=no-member
 </s> add         interpolators = cv2.INTER_CUBIC, cv2.INTER_AREA
 </s> remove         retval = cv2.warpAffine(image,  # pylint: disable=no-member
                                matrix, (size, size), flags=interpolators[0])
 </s> add         retval = cv2.warpAffine(image, matrix, (size, size), flags=interpolators[0])
 </s> remove         mouth = mouth.reshape((-1, 2)).astype(int).flatten()
        l_eye_hull = cv2.convexHull(l_eye.reshape((-1, 2)))  # pylint: disable=no-member
        r_eye_hull = cv2.convexHull(r_eye.reshape((-1, 2)))  # pylint: disable=no-member
        mouth_hull = cv2.convexHull(mouth.reshape((-1, 2)))  # pylint: disable=no-member
 </s> add         mouth = mouth.reshape((-1, 2)).astype('int32').flatten()
        l_eye_hull = cv2.convexHull(l_eye.reshape((-1, 2)))
        r_eye_hull = cv2.convexHull(r_eye.reshape((-1, 2)))
        mouth_hull = cv2.convexHull(mouth.reshape((-1, 2)))
 </s> remove         l_eye = np.array(l_eye_points + l_brow_points).reshape((-1, 2)).astype(int).flatten()
        r_eye = np.array(r_eye_points + r_brow_points).reshape((-1, 2)).astype(int).flatten()
 </s> add         l_eye = np.array(l_eye_points + l_brow_points).reshape((-1, 2)).astype('int32').flatten()
        r_eye = np.array(r_eye_points + r_brow_points).reshape((-1, 2)).astype('int32').flatten()
 </s> remove         matrix = cv2.invertAffineTransform(matrix)  # pylint: disable=no-member
 </s> add         matrix = cv2.invertAffineTransform(matrix)

        interpolators = cv2.INTER_AREA, cv2.INTER_CUBIC

      avg_scale = (x_scale + y_scale) * 0.5
      if avg_scale >= 1.:
          interpolators = cv2.INTER_CUBIC, cv2.INTER_AREA  # pylint: disable=no-member
      else:
        interpolators = cv2.INTER_AREA, cv2.INTER_CUBIC
      logger.trace("interpolator: %s, inverse interpolator: %s", interpolators[0], interpolators[1])
      return interpolators
  
  
  def get_align_mat(face):
keep keep keep keep replace keep keep keep keep keep
 Landmarks stored and used as floating point numbers (#928)

* remove and fix int adjustments
* masking rounding 
lib/aligner.py