From e421af494fd5d7bb3c20c86e3ca96df6247edb4c Mon Sep 17 00:00:00 2001 From: Bhavay Malhotra Date: Thu, 27 Jun 2024 17:43:10 +0530 Subject: [PATCH] Changed the parameters of overlay_image function --- supervision/annotators/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index 1c0ad8af..babbdf11 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -2089,7 +2089,7 @@ class CropAnnotator(BaseAnnotator): anchor=anchor, crop_wh=crop_wh, position=self.position ) scene = overlay_image( - scene=scene, inserted_image=resized_crop, anchor=(x1, y1) + image=scene, overlay=resized_crop, anchor=(x1, y1) ) color = resolve_color( color=self.border_color,