          float
              The scaling factor from original image size to model input size
          """
          scale = self.input_size / max(image_size)
          logger.trace("Detector scale: %s", scale)  # type:ignore
          return scale
  
      def _set_padding(self, image_size: Tuple[int, int], scale: float) -> Tuple[int, int]:
          """ Set the image padding for non-square images
  
 
</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)", </s> remove         logger.trace("Resized image shape: %s", image.shape)  # type:ignore
 </s> add         logger.trace("Resized image shape: %s", image.shape)  # type:ignore[attr-defined] </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("Rotated image: (rotation_matrix: %s", rotation_matrix)  # type:ignore
 </s> add         logger.trace("Rotated image: (rotation_matrix: %s",  # type:ignore[attr-defined]
                     rotation_matrix) </s> remove         logger.trace("Item out: %s",  # type:ignore
 </s> add         logger.trace("Item out: %s",  # type:ignore[attr-defined]
        logger.trace("Detector scale: %s", scale)  # type:ignore[attr-defined]
          float
              The scaling factor from original image size to model input size
          """
          scale = self.input_size / max(image_size)
        logger.trace("Detector scale: %s", scale)  # type:ignore[attr-defined]
          return scale
  
      def _set_padding(self, image_size: Tuple[int, int], scale: float) -> Tuple[int, int]:
          """ Set the image padding for non-square images
  
keep keep keep keep replace keep keep keep keep keep
 bugfix: Extract - rotation in detection 
plugins/extract/detect/_base.py