From 0c2cf9a7997916513a5c447b9891452f84291cc3 Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Fri, 22 Dec 2023 01:06:36 -0800 Subject: [PATCH] The New Computer Update (reflective mouse) --- interpreter/core/computer/mouse/mouse.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/interpreter/core/computer/mouse/mouse.py b/interpreter/core/computer/mouse/mouse.py index d84e4049ab..14f16bedb6 100644 --- a/interpreter/core/computer/mouse/mouse.py +++ b/interpreter/core/computer/mouse/mouse.py @@ -58,9 +58,8 @@ def move(self, *args, x=None, y=None, icon=None): cv2.LINE_AA, ) - bounding_box_image = Image.fromarray(img_draw) - bounding_box_image.format = screenshot.format - bounding_box_image.show() + plt.imshow(img_draw) + plt.show() coordinates = [ f"{i}: {int(item[0]*self.computer.display.width)}, {int(item[1]*self.computer.display.height)}"