          """ Align the incoming image for prediction """
          logger.trace("Aligning image around center")
          rois = []
          faces = []
          for face in detected_faces:
              box = (face.left,
 
</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) </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=(self.input_size, self.input_size),
                          interpolation=interpolation)
 </s> add         sizes = (self.input_size, self.input_size)
        interpolation = cv2.INTER_CUBIC if face.shape[0] < self.input_size else cv2.INTER_AREA
        face = cv2.resize(face, dsize=sizes, interpolation=interpolation) </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=(self.input_size, self.input_size),
                          interpolation=interpolation)
 </s> add         sizes = (self.input_size, self.input_size)
        interpolation = cv2.INTER_CUBIC if face.shape[0] < self.input_size else cv2.INTER_AREA
        face = cv2.resize(face, dsize=sizes, interpolation=interpolation) </s> remove                 scale_img = cv2.resize(crop_img, (48, 48))  # pylint:disable=no-member
 </s> add                 scale_img = cv2.resize(crop_img, (48, 48)) </s> remove                 scale_img = cv2.resize(crop_img, (24, 24))  # pylint:disable=no-member
 </s> add                 scale_img = cv2.resize(crop_img, (24, 24))
        sizes = (self.input_size, self.input_size)
          """ Align the incoming image for prediction """
          logger.trace("Aligning image around center")
        sizes = (self.input_size, self.input_size)
          rois = []
          faces = []
          for face in detected_faces:
              box = (face.left,
keep add keep keep keep keep
 # pylint:disable=no-member cleanup (#927)

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