diff --git a/supervision/utils/conversion.py b/supervision/utils/conversion.py index ac1c78c2..17c1920f 100644 --- a/supervision/utils/conversion.py +++ b/supervision/utils/conversion.py @@ -98,6 +98,15 @@ def ensure_pil_image_for_annotation(annotate_func): pass +@deprecated( + target=ensure_cv2_image_for_standalone_function, + deprecated_in="0.27.0", + remove_in="0.30.0", +) +def ensure_cv2_image_for_processing(image_processing_fun): + pass + + def images_to_cv2(images: list[ImageType]) -> list[np.ndarray]: """ Converts images provided either as Pillow images or OpenCV