Skip to content

Commit

Permalink
The New Computer Update (reflective mouse)
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Dec 22, 2023
1 parent 262aa02 commit 0c2cf9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions interpreter/core/computer/mouse/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}"
Expand Down

0 comments on commit 0c2cf9a

Please sign in to comment.