              logger.trace("Resizing detection image from %s to %s. Scale=%s",  # type:ignore
                           "x".join(str(i) for i in reversed(image_size)),
                           "x".join(str(i) for i in dims), scale)
              image = cv2.resize(image, dims, interpolation=interpln)
          logger.trace("Resized image shape: %s", image.shape)  # type:ignore
          return image
  
      def _pad_image(self, image: np.ndarray) -> np.ndarray:
          """ Pad a resized image to input size
  
 
</s> remove             logger.trace("Resizing detection image from %s to %s. Scale=%s",  # type:ignore
 </s> add             logger.trace("Resizing detection image from %s to %s. "  # type:ignore[attr-defined]
                         "Scale=%s", </s> remove         logger.trace("Detector scale: %s", scale)  # type:ignore
 </s> add         logger.trace("Detector scale: %s", scale)  # type:ignore[attr-defined] </s> remove         logger.trace("Padded image shape: %s", image.shape)  # type:ignore
 </s> add         logger.trace("Padded image shape: %s", image.shape)  # type:ignore[attr-defined] </s> remove                 logger.verbose("found face(s) by rotating image %s degrees",  # type:ignore
 </s> add                 logger.verbose("found face(s) by rotating image %s "  # type:ignore[attr-defined]
                               "degrees", </s> remove         logger.trace("compiled: (images shape: %s, scale: %s, pad: %s)",  # type:ignore
 </s> add         logger.trace("compiled: (images shape: %s, "  # type:ignore[attr-defined]
                     "scale: %s, pad: %s)",
        logger.trace("Resized image shape: %s", image.shape)  # type:ignore[attr-defined]
              logger.trace("Resizing detection image from %s to %s. Scale=%s",  # type:ignore
                           "x".join(str(i) for i in reversed(image_size)),
                           "x".join(str(i) for i in dims), scale)
              image = cv2.resize(image, dims, interpolation=interpln)
        logger.trace("Resized image shape: %s", image.shape)  # type:ignore[attr-defined]
          return image
  
      def _pad_image(self, image: np.ndarray) -> np.ndarray:
          """ Pad a resized image to input size
  
keep keep keep keep replace keep keep keep keep keep
 bugfix: Extract - rotation in detection 
plugins/extract/detect/_base.py