From d0c32c4d9a940fa815518e8f100839631798962c Mon Sep 17 00:00:00 2001 From: monoKim Date: Mon, 2 Nov 2020 20:49:51 +0100 Subject: [PATCH] 'comment' --- aimbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aimbot.py b/aimbot.py index a3d4af8..92f02b4 100644 --- a/aimbot.py +++ b/aimbot.py @@ -57,6 +57,7 @@ while True: min = dist at = i + # Pixel difference between crosshair(center) and the closest object x = centers[at][0] - img_w/2 y = centers[at][1] - img_h/2 - (detected_boxes[at][3] - detected_boxes[at][2]) * 0.45