          if left < 0:
              right += abs(left)
              left += abs(left)
          if top < 0:
              bottom += abs(top)
              top += abs(top)
  
          # Make sure box is always square.
          assert ((right - left) == (bottom - top)), 'Box is not square.'
  
          return [left, top, right, bottom]
 
</s> remove             right += abs(left)
            left += abs(left)
 </s> add             shift_right = abs(left)
            right += shift_right
            left += shift_right </s> remove         image = cv2.warpAffine(image,  # pylint: disable=no-member
                               rotation_matrix,
                               (self.input_size, self.input_size))
 </s> add         image = cv2.warpAffine(image, rotation_matrix, (self.input_size, self.input_size)) </s> remove         rotation_matrix = cv2.getRotationMatrix2D(  # pylint: disable=no-member
            image_center, -1.*angle, 1.)
 </s> add         rotation_matrix = cv2.getRotationMatrix2D(image_center, -1.*angle, 1.) </s> remove             points = np.array(prediction).flatten()
            points = np.reshape(points, (-1, 2))
 </s> add             points = np.reshape(prediction, (-1, 2)) </s> remove             if face.shape[0] < self.input_size:
                interpolation = cv2.INTER_CUBIC  # pylint:disable=no-member
            else:
                interpolation = cv2.INTER_AREA  # pylint:disable=no-member

            face = cv2.resize(face,  # pylint:disable=no-member
                              dsize=(int(self.input_size), int(self.input_size)),
                              interpolation=interpolation)
 </s> add             interpolation = cv2.INTER_CUBIC if face.shape[0] < self.input_size else cv2.INTER_AREA
            face = cv2.resize(face, dsize=sizes, interpolation=interpolation)
            shift_down = abs(top)
            bottom += shift_down
            top += shift_down
          if left < 0:
              right += abs(left)
              left += abs(left)
          if top < 0:
            shift_down = abs(top)
            bottom += shift_down
            top += shift_down
            shift_down = abs(top)
            bottom += shift_down
            top += shift_down
  
          # Make sure box is always square.
          assert ((right - left) == (bottom - top)), 'Box is not square.'
  
          return [left, top, right, bottom]
keep keep keep keep replace replace keep keep keep keep keep
 # pylint:disable=no-member cleanup (#927)

# pylint:disable=no-member cleanup 
plugins/extract/align/cv2_dnn.py