Changed the parameters of overlay_image function

This commit is contained in:
Bhavay Malhotra committed 2024-06-27 17:43:10 +05:30
1 parent d391376912
commit e421af494f
1 file changed
+1 -1
+1 -1
View File
@@ -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,